	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqc111_read_fw_version
_aqc111_read_fw_version:                ## @aqc111_read_fw_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_AQ_ACCESS_MAC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_AQ_FW_VER_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%rbx, %r9
	callq	_aqc111_read_cmd
	movl	(%r15), %esi
	movq	_AQ_FW_VER_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	4(%rbx), %r9
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_aqc111_read_cmd
	movl	(%r15), %esi
	movq	_AQ_FW_VER_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%rbx), %r9
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_aqc111_read_cmd
	movl	(%rbx), %eax
	testb	$-128, %al
	je	LBB0_2
## %bb.1:
	andl	$-129, %eax
	movl	%eax, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_ACCESS_MAC,4,2              ## @AQ_ACCESS_MAC
	.comm	_AQ_FW_VER_MAJOR,4,2            ## @AQ_FW_VER_MAJOR
	.comm	_AQ_FW_VER_MINOR,4,2            ## @AQ_FW_VER_MINOR
	.comm	_AQ_FW_VER_REV,4,2              ## @AQ_FW_VER_REV
	.no_dead_strip	_aqc111_read_fw_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqc111_read_fw_version
_aqc111_read_fw_version:                ; @aqc111_read_fw_version
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _AQ_ACCESS_MAC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AQ_ACCESS_MAC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _AQ_FW_VER_MAJOR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AQ_FW_VER_MAJOR@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #1
	mov	w4, #1
	mov	x5, x19
	bl	_aqc111_read_cmd
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _AQ_FW_VER_MINOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AQ_FW_VER_MINOR@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x5, x19, #4
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_aqc111_read_cmd
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _AQ_FW_VER_REV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AQ_FW_VER_REV@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x5, x19, #8
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_aqc111_read_cmd
	ldr	w8, [x19]
	tbz	w8, #7, LBB0_2
; %bb.1:
	and	w8, w8, #0xffffff7f
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_ACCESS_MAC,4,2              ; @AQ_ACCESS_MAC
	.comm	_AQ_FW_VER_MAJOR,4,2            ; @AQ_FW_VER_MAJOR
	.comm	_AQ_FW_VER_MINOR,4,2            ; @AQ_FW_VER_MINOR
	.comm	_AQ_FW_VER_REV,4,2              ; @AQ_FW_VER_REV
	.no_dead_strip	_aqc111_read_fw_version
.subsections_via_symbols
