	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function current_type
_current_type:                          ## @current_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rax
	movq	_LIBPNG_ERROR_CODE@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jl	LBB0_5
## %bb.2:
	movq	_png_IDAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$8, (%rdi)
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rdi), %rax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIBPNG_ERROR_CODE,4,2          ## @LIBPNG_ERROR_CODE
	.comm	_png_IDAT,8,3                   ## @png_IDAT
	.no_dead_strip	_current_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function current_type
_current_type:                          ; @current_type
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_3
; %bb.1:
	ldr	x0, [x9]
Lloh0:
	adrp	x9, _LIBPNG_ERROR_CODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LIBPNG_ERROR_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _png_IDAT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _png_IDAT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	w9, w1
	ccmp	x0, x10, #0, ge
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x8]
	cmp	w8, #8
	csel	x0, xzr, x0, eq
	ret
LBB0_3:
	ldr	x0, [x8, #8]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LIBPNG_ERROR_CODE,4,2          ; @LIBPNG_ERROR_CODE
	.comm	_png_IDAT,8,3                   ; @png_IDAT
	.no_dead_strip	_current_type
.subsections_via_symbols
