	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9015_identify_state
_af9015_identify_state:                 ## @af9015_identify_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	_GET_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -32(%rbp)
	leaq	-12(%rbp), %rax
	movl	%eax, -24(%rbp)
	leaq	-56(%rbp), %rsi
	callq	_af9015_ctrl_msg
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	-12(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	cmpl	$2, -12(%rbp)
	jne	LBB0_2
## %bb.3:
	movq	_WARM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_COLD@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GET_CONFIG,4,2                 ## @GET_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reply %02x\n"

	.comm	_WARM,4,2                       ## @WARM
	.comm	_COLD,4,2                       ## @COLD
	.no_dead_strip	_af9015_identify_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9015_identify_state
_af9015_identify_state:                 ; @af9015_identify_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _GET_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GET_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp]
	stp	xzr, xzr, [sp, #8]
	mov	x8, #4294967296
	str	x8, [sp, #24]
	sub	x8, x29, #20
	str	w8, [sp, #32]
	mov	x1, sp
	bl	_af9015_ctrl_msg
	cbnz	w0, LBB0_2
; %bb.1:
	ldur	w2, [x29, #-20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh5:
	adrp	x8, _WARM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WARM@GOTPAGEOFF]
	ldur	w9, [x29, #-20]
Lloh7:
	adrp	x10, _COLD@GOTPAGE
Lloh8:
	ldr	x10, [x10, _COLD@GOTPAGEOFF]
	cmp	w9, #2
	csel	x8, x8, x10, eq
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GET_CONFIG,4,2                 ; @GET_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reply %02x\n"

	.comm	_WARM,4,2                       ; @WARM
	.comm	_COLD,4,2                       ; @COLD
	.no_dead_strip	_af9015_identify_state
.subsections_via_symbols
