	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_exp
_png_exp:                               ## @png_exp
	.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 $edi killed $edi def $rdi
	leal	-1(%rdi), %eax
	cmpl	$1048574, %eax                  ## imm = 0xFFFFE
	ja	LBB0_14
## %bb.1:
	movq	_png_32bit_exp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	shrl	$12, %ecx
	andl	$15, %ecx
	movl	(%rax,%rcx,4), %eax
	testl	$2048, %edi                     ## imm = 0x800
	jne	LBB0_2
## %bb.3:
	testl	$1024, %edi                     ## imm = 0x400
	jne	LBB0_4
LBB0_5:
	testl	$512, %edi                      ## imm = 0x200
	jne	LBB0_6
LBB0_7:
	testl	$256, %edi                      ## imm = 0x100
	jne	LBB0_8
LBB0_9:
	testb	$-128, %dil
	jne	LBB0_10
LBB0_11:
	testb	$64, %dil
	je	LBB0_13
LBB0_12:
	movl	%eax, %ecx
	sarl	$16, %ecx
	imull	$45410, %ecx, %ecx              ## imm = 0xB162
	addl	$512, %ecx                      ## imm = 0x200
	shrl	$10, %ecx
	subl	%ecx, %eax
LBB0_13:
	movl	%eax, %ecx
	sarl	$16, %ecx
	movl	%edi, %edx
	andl	$63, %edx
	imull	%ecx, %edx
	imull	$355, %edx, %ecx                ## imm = 0x163
	addl	$256, %ecx                      ## imm = 0x100
	shrl	$9, %ecx
	subl	%ecx, %eax
	shrl	$16, %edi
	movl	%edi, %ecx
	sarl	%cl, %eax
	popq	%rbp
	retq
LBB0_14:
	xorl	%eax, %eax
	testl	%edi, %edi
	jle	LBB0_15
## %bb.16:
	popq	%rbp
	retq
LBB0_2:
	movl	%eax, %ecx
	sarl	$16, %ecx
	imull	$44938, %ecx, %ecx              ## imm = 0xAF8A
	addl	$16, %ecx
	shrl	$5, %ecx
	subl	%ecx, %eax
	testl	$1024, %edi                     ## imm = 0x400
	je	LBB0_5
LBB0_4:
	movl	%eax, %ecx
	sarl	$16, %ecx
	imull	$45181, %ecx, %ecx              ## imm = 0xB07D
	addl	$32, %ecx
	shrl	$6, %ecx
	subl	%ecx, %eax
	testl	$512, %edi                      ## imm = 0x200
	je	LBB0_7
LBB0_6:
	movl	%eax, %ecx
	sarl	$16, %ecx
	imull	$45303, %ecx, %ecx              ## imm = 0xB0F7
	addl	$64, %ecx
	shrl	$7, %ecx
	subl	%ecx, %eax
	testl	$256, %edi                      ## imm = 0x100
	je	LBB0_9
LBB0_8:
	movl	%eax, %ecx
	sarl	$16, %ecx
	imull	$45365, %ecx, %ecx              ## imm = 0xB135
	subl	$-128, %ecx
	shrl	$8, %ecx
	subl	%ecx, %eax
	testb	$-128, %dil
	je	LBB0_11
LBB0_10:
	movl	%eax, %ecx
	sarl	$16, %ecx
	imull	$45395, %ecx, %ecx              ## imm = 0xB153
	addl	$256, %ecx                      ## imm = 0x100
	shrl	$9, %ecx
	subl	%ecx, %eax
	testb	$64, %dil
	jne	LBB0_12
	jmp	LBB0_13
LBB0_15:
	movq	_png_32bit_exp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_png_32bit_exp,8,3              ## @png_32bit_exp
	.no_dead_strip	_png_exp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_exp
_png_exp:                               ; @png_exp
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1
	mov	w9, #1048574
	cmp	w8, w9
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _png_32bit_exp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _png_32bit_exp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ubfx	w9, w0, #12, #4
	ldr	w8, [x8, w9, uxtw #2]
	asr	w9, w8, #16
	mov	w10, #44938
	orr	w11, wzr, #0x10
	madd	w9, w9, w10, w11
	sub	w9, w8, w9, lsr #5
	tst	w0, #0x800
	csel	w8, w8, w9, eq
	asr	w9, w8, #16
	mov	w10, #45181
	orr	w11, wzr, #0x20
	madd	w9, w9, w10, w11
	sub	w9, w8, w9, lsr #6
	tst	w0, #0x400
	csel	w8, w8, w9, eq
	asr	w9, w8, #16
	mov	w10, #45303
	orr	w11, wzr, #0x40
	madd	w9, w9, w10, w11
	sub	w9, w8, w9, lsr #7
	tst	w0, #0x200
	csel	w8, w8, w9, eq
	asr	w9, w8, #16
	mov	w10, #45365
	orr	w11, wzr, #0x80
	madd	w9, w9, w10, w11
	sub	w9, w8, w9, lsr #8
	tst	w0, #0x100
	csel	w8, w8, w9, eq
	asr	w9, w8, #16
	mov	w10, #45395
	orr	w11, wzr, #0x100
	madd	w9, w9, w10, w11
	sub	w9, w8, w9, lsr #9
	tst	w0, #0x80
	csel	w8, w8, w9, eq
	asr	w9, w8, #16
	mov	w10, #45410
	orr	w12, wzr, #0x200
	madd	w9, w9, w10, w12
	sub	w9, w8, w9, lsr #10
	tst	w0, #0x40
	csel	w8, w8, w9, eq
	asr	w9, w8, #16
	and	w10, w0, #0x3f
	mul	w9, w10, w9
	mov	w10, #355
	madd	w9, w9, w10, w11
	sub	w8, w8, w9, lsr #9
	lsr	w9, w0, #16
	asr	w0, w8, w9
	ret
LBB0_2:
	cmp	w0, #0
	b.le	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
Lloh3:
	adrp	x8, _png_32bit_exp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _png_32bit_exp@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_png_32bit_exp,8,3              ; @png_32bit_exp
	.no_dead_strip	_png_exp
.subsections_via_symbols
