	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_check_efuse
_ax88179_check_efuse:                   ## @ax88179_check_efuse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_AX_ACCESS_EFUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-288(%rbp), %r9
	xorl	%edx, %edx
	movl	$64, %ecx
	movl	$64, %r8d
	callq	_ax88179_read_cmd
	testq	%rax, %rax
	js	LBB0_7
## %bb.1:
	movl	-288(%rbp), %eax
	cmpl	$255, %eax
	je	LBB0_6
## %bb.2:
	movdqu	-60(%rbp), %xmm1
	movdqu	-76(%rbp), %xmm2
	movdqu	-92(%rbp), %xmm3
	movdqu	-108(%rbp), %xmm4
	movdqu	-124(%rbp), %xmm0
	paddd	%xmm4, %xmm0
	paddd	%xmm3, %xmm0
	paddd	%xmm2, %xmm0
	paddd	%xmm1, %xmm0
	movdqu	-140(%rbp), %xmm1
	movdqu	-156(%rbp), %xmm2
	movdqu	-172(%rbp), %xmm3
	movdqu	-188(%rbp), %xmm4
	paddd	%xmm3, %xmm4
	paddd	%xmm2, %xmm4
	paddd	%xmm1, %xmm4
	movdqu	-204(%rbp), %xmm1
	movdqu	-220(%rbp), %xmm2
	movdqu	-284(%rbp), %xmm3
	movdqu	-268(%rbp), %xmm5
	movdqu	-252(%rbp), %xmm6
	paddd	%xmm5, %xmm6
	movdqu	-236(%rbp), %xmm5
	paddd	%xmm2, %xmm5
	paddd	%xmm1, %xmm5
	movd	%eax, %xmm1
	paddd	%xmm3, %xmm1
	paddd	%xmm6, %xmm1
	paddd	%xmm5, %xmm1
	paddd	%xmm4, %xmm1
	paddd	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	addl	-44(%rbp), %eax
	addl	-40(%rbp), %eax
	addl	-36(%rbp), %eax
	cmpl	$256, %eax                      ## imm = 0x100
	jl	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %ecx
	movzbl	%ah, %eax
	addl	%ecx, %eax
	cmpl	$255, %eax
	ja	LBB0_3
LBB0_4:
	cmpl	$255, %eax
	jne	LBB0_6
## %bb.5:
	movl	-84(%rbp), %eax
	shll	$8, %eax
	orl	-80(%rbp), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	subl	(%rax), %ebx
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %eax
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_ACCESS_EFUS,4,2             ## @AX_ACCESS_EFUS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ax88179_check_efuse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_check_efuse
_ax88179_check_efuse:                   ; @ax88179_check_efuse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _AX_ACCESS_EFUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AX_ACCESS_EFUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x5, sp, #8
	mov	w2, #0
	mov	w3, #64
	mov	w4, #64
	bl	_ax88179_read_cmd
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #255
	b.eq	LBB0_6
; %bb.2:
	add	x9, sp, #8
	ldur	q0, [x9, #228]
	ldur	q1, [x9, #212]
	ldur	q2, [x9, #196]
	ldur	q3, [x9, #180]
	ldur	q4, [x9, #164]
	ldur	q5, [x9, #148]
	ldur	q6, [x9, #132]
	ldur	q7, [sp, #124]
	ldur	q16, [sp, #108]
	ldur	q17, [sp, #92]
	ldur	q18, [sp, #76]
	ldur	q19, [sp, #60]
	ldur	q20, [sp, #44]
	ldur	q21, [sp, #28]
	ldur	q22, [sp, #12]
	movi.2d	v23, #0000000000000000
	mov.s	v23[0], w8
	add.4s	v22, v22, v23
	add.4s	v21, v21, v22
	add.4s	v20, v20, v21
	add.4s	v19, v19, v20
	add.4s	v18, v18, v19
	add.4s	v17, v17, v18
	add.4s	v16, v16, v17
	add.4s	v7, v7, v16
	add.4s	v6, v6, v7
	add.4s	v5, v5, v6
	add.4s	v4, v4, v5
	add.4s	v3, v3, v4
	add.4s	v2, v2, v3
	add.4s	v1, v1, v2
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w8, s0
	ldp	w9, w10, [sp, #252]
	add	w8, w9, w8
	add	w8, w10, w8
	ldr	w9, [sp, #260]
	add	w8, w9, w8
	cmp	w8, #256
	b.lt	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ubfx	w9, w8, #8, #8
	add	w8, w9, w8, uxtb
	cmp	w8, #255
	b.hi	LBB0_3
LBB0_4:
	cmp	w8, #255
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	ldp	w8, w9, [sp, #212]
	orr	w8, w9, w8, lsl #8
	str	w8, [x19]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_ACCESS_EFUS,4,2             ; @AX_ACCESS_EFUS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ax88179_check_efuse
.subsections_via_symbols
