	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function png_read_trns
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_png_read_trns:                         ## @png_read_trns
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	je	LBB0_8
## %bb.1:
	leal	-1(%rdx), %r9d
	xorl	%r8d, %r8d
	cmpl	$3, %r9d
	jae	LBB0_3
## %bb.2:
	movq	%rdi, %r10
	movq	%rsi, %r11
	jmp	LBB0_6
LBB0_3:
	incq	%r9
	movq	%r9, %r8
	andq	$-4, %r8
	leaq	(%rdi,%r8,8), %r10
	leaq	(%rsi,%r8,4), %r11
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,255,255,0,255,255,255,0,0,0,0,0,0,0,0,0]
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rax,4), %xmm1            ## xmm1 = mem[0],zero
	movq	8(%rsi,%rax,4), %xmm2           ## xmm2 = mem[0],zero
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm2
	movdqu	(%rdi,%rax,8), %xmm3
	movdqu	16(%rdi,%rax,8), %xmm4
	pshufd	$232, %xmm3, %xmm3              ## xmm3 = xmm3[0,2,2,3]
	pshufd	$232, %xmm4, %xmm4              ## xmm4 = xmm4[0,2,2,3]
	pslld	$24, %xmm3
	por	%xmm1, %xmm3
	pslld	$24, %xmm4
	por	%xmm2, %xmm4
	movq	%xmm3, (%rsi,%rax,4)
	movq	%xmm4, 8(%rsi,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r8
	jne	LBB0_4
## %bb.5:
	cmpq	%r8, %r9
	je	LBB0_8
LBB0_6:
	subl	%r8d, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r10,%rax,8), %ecx
	movb	%cl, 3(%r11,%rax,4)
	incq	%rax
	cmpl	%eax, %edx
	jne	LBB0_7
LBB0_8:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_png_read_trns
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_read_trns
_png_read_trns:                         ; @png_read_trns
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_8
; %bb.1:
	sub	w8, w2, #1
	cmp	w8, #7
	b.hs	LBB0_3
; %bb.2:
	mov	w10, #0
	mov	x8, x0
	mov	x9, x1
	b	LBB0_6
LBB0_3:
	add	x11, x8, #1
	and	x10, x11, #0x1fffffff8
	add	x8, x0, x10, lsl #3
	add	x9, x1, x10, lsl #2
	add	x12, x0, #32
	add	x13, x1, #16
	mov	x14, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d0, d1, [x13, #-16]
	ldp	d2, d3, [x13]
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12], #64
	xtn.2s	v4, v4
	xtn.2s	v5, v5
	xtn.2s	v6, v6
	xtn.2s	v7, v7
	sli.2s	v0, v4, #24
	sli.2s	v1, v5, #24
	sli.2s	v2, v6, #24
	sli.2s	v3, v7, #24
	stp	d0, d1, [x13, #-16]
	stp	d2, d3, [x13], #32
	subs	x14, x14, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x10
	b.eq	LBB0_8
LBB0_6:
	sub	w10, w2, w10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8], #8
	strb	w11, [x9, #3]
	add	x9, x9, #4
	subs	w10, w10, #1
	b.ne	LBB0_7
LBB0_8:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_png_read_trns
.subsections_via_symbols
