	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_chip_efuse_info_setup
_rtw_chip_efuse_info_setup:             ## @rtw_chip_efuse_info_setup
	.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	%rdi, %r14
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_rtw_chip_efuse_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.1:
	movq	%r14, %rdi
	callq	_rtw_parse_efuse_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.2:
	movq	%r14, %rdi
	callq	_rtw_dump_hw_feature
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.3:
	movq	%r14, %rdi
	callq	_rtw_check_supported_rfe
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.4:
	cmpl	$255, 4(%r14)
	je	LBB0_5
## %bb.6:
	cmpl	$255, 8(%r14)
	je	LBB0_7
LBB0_8:
	cmpl	$255, 12(%r14)
	je	LBB0_9
LBB0_10:
	cmpl	$255, 16(%r14)
	je	LBB0_11
LBB0_12:
	cmpl	$255, 20(%r14)
	je	LBB0_13
LBB0_14:
	cmpl	$255, 24(%r14)
	je	LBB0_15
LBB0_16:
	cmpl	$255, 28(%r14)
	jne	LBB0_18
LBB0_17:
	movl	$0, 28(%r14)
LBB0_18:
	movl	32(%r14), %ebx
	xorl	%edi, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_20
## %bb.19:
	movl	$1, 36(%r14)
LBB0_20:
	cmpl	$255, 40(%r14)
	jne	LBB0_22
## %bb.21:
	movl	$0, 40(%r14)
LBB0_22:
	movl	$224, %eax
	andl	28(%r14), %eax
	xorl	%ecx, %ecx
	cmpl	$32, %eax
	sete	%cl
	movl	%ecx, 44(%r14)
	movl	8(%r14), %ebx
	movl	$4, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%ebx, %eax
	setne	%cl
	movl	%ecx, 48(%r14)
	movl	16(%r14), %ebx
	movl	$3, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%ebx, %eax
	setne	%cl
	movl	%ecx, 52(%r14)
	movl	12(%r14), %r15d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	setne	%cl
	movl	%ecx, 56(%r14)
	movl	20(%r14), %r15d
	movl	$3, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	setne	%cl
	movl	%ecx, 52(%r14)
	movq	%r14, %rdi
	callq	_rtw_chip_efuse_disable
LBB0_23:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$0, 4(%r14)
	cmpl	$255, 8(%r14)
	jne	LBB0_8
LBB0_7:
	movl	$0, 8(%r14)
	cmpl	$255, 12(%r14)
	jne	LBB0_10
LBB0_9:
	movl	$0, 12(%r14)
	cmpl	$255, 16(%r14)
	jne	LBB0_12
LBB0_11:
	movl	$0, 16(%r14)
	cmpl	$255, 20(%r14)
	jne	LBB0_14
LBB0_13:
	movl	$0, 20(%r14)
	cmpl	$255, 24(%r14)
	jne	LBB0_16
LBB0_15:
	movl	$127, 24(%r14)
	cmpl	$255, 28(%r14)
	je	LBB0_17
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtw_chip_efuse_info_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_chip_efuse_info_setup
_rtw_chip_efuse_info_setup:             ; @rtw_chip_efuse_info_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_mutex_lock
	mov	x0, x19
	bl	_rtw_chip_efuse_enable
	mov	x20, x0
	cbnz	w0, LBB0_23
; %bb.1:
	mov	x0, x19
	bl	_rtw_parse_efuse_map
	mov	x20, x0
	cbnz	w0, LBB0_23
; %bb.2:
	mov	x0, x19
	bl	_rtw_dump_hw_feature
	mov	x20, x0
	cbnz	w0, LBB0_23
; %bb.3:
	mov	x0, x19
	bl	_rtw_check_supported_rfe
	mov	x20, x0
	cbnz	w0, LBB0_23
; %bb.4:
	ldr	w8, [x19, #4]
	cmp	w8, #255
	b.ne	LBB0_6
; %bb.5:
	str	wzr, [x19, #4]
LBB0_6:
	ldr	w8, [x19, #8]
	cmp	w8, #255
	b.ne	LBB0_8
; %bb.7:
	str	wzr, [x19, #8]
LBB0_8:
	ldr	w8, [x19, #12]
	cmp	w8, #255
	b.ne	LBB0_10
; %bb.9:
	str	wzr, [x19, #12]
LBB0_10:
	ldr	w8, [x19, #16]
	cmp	w8, #255
	b.ne	LBB0_12
; %bb.11:
	str	wzr, [x19, #16]
LBB0_12:
	ldr	w8, [x19, #20]
	cmp	w8, #255
	b.ne	LBB0_14
; %bb.13:
	str	wzr, [x19, #20]
LBB0_14:
	ldr	w8, [x19, #24]
	cmp	w8, #255
	b.ne	LBB0_16
; %bb.15:
	mov	w8, #127
	str	w8, [x19, #24]
LBB0_16:
	ldr	w8, [x19, #28]
	cmp	w8, #255
	b.ne	LBB0_18
; %bb.17:
	str	wzr, [x19, #28]
LBB0_18:
	ldr	w20, [x19, #32]
	mov	w0, #0
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_20
; %bb.19:
	mov	w8, #1
	str	w8, [x19, #36]
LBB0_20:
	ldr	w8, [x19, #40]
	cmp	w8, #255
	b.ne	LBB0_22
; %bb.21:
	str	wzr, [x19, #40]
LBB0_22:
	ldr	w8, [x19, #28]
	and	w8, w8, #0xe0
	cmp	w8, #32
	cset	w8, eq
	str	w8, [x19, #44]
	ldr	w20, [x19, #8]
	mov	w0, #4
	bl	_BIT
	tst	w0, w20
	cset	w8, ne
	str	w8, [x19, #48]
	ldr	w20, [x19, #16]
	mov	w0, #3
	bl	_BIT
	tst	w0, w20
	cset	w8, ne
	str	w8, [x19, #52]
	ldr	w20, [x19, #12]
	mov	w0, #0
	bl	_BIT
	tst	w0, w20
	cset	w8, ne
	str	w8, [x19, #56]
	ldr	w20, [x19, #20]
	mov	w0, #3
	bl	_BIT
	tst	w0, w20
	cset	w8, ne
	str	w8, [x19, #52]
	mov	x0, x19
	bl	_rtw_chip_efuse_disable
	mov	w20, #0
LBB0_23:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rtw_chip_efuse_info_setup
.subsections_via_symbols
