	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_op_config
_b43_op_config:                         ## @b43_op_config
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_hw_to_b43_wl
	movq	%rax, %r15
	movq	16(%rax), %r13
	leaq	8(%rax), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	%r13, %rdi
	callq	_b43_mac_suspend
	movq	_IEEE80211_CONF_CHANGE_LISTEN_INTERVAL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	32(%rbx), %esi
	movq	%r13, %rdi
	callq	_b43_set_beacon_listen_interval
LBB0_2:
	movq	_IEEE80211_CONF_CHANGE_CHANNEL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.3:
	leaq	24(%rbx), %rax
	movq	%rax, 48(%r13)
	movq	24(%rbx), %rsi
	movl	(%rsi), %eax
	movl	%eax, 40(%r13)
	movq	%r13, %rdi
	callq	_b43_switch_band
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.4:
	movl	40(%r13), %esi
	movq	%r13, %rdi
	callq	_b43_switch_channel
LBB0_5:
	movq	_IEEE80211_CONF_CHANGE_RETRY_LIMITS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%r14d, %eax
	je	LBB0_7
## %bb.6:
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%r13, %rdi
	callq	_b43_set_retry_limits
	movl	(%r12), %eax
LBB0_7:
	notl	%eax
	xorl	%r12d, %r12d
	testl	%r14d, %eax
	je	LBB0_19
## %bb.8:
	movq	_IEEE80211_CONF_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	setne	%cl
	movq	(%r13), %rax
	movl	%ecx, (%rax)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	cmpq	16(%r13), %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, 16(%r13)
	movq	_B43_TXPWR_IGNORE_TIME@GOTPCREL(%rip), %rax
	movq	_B43_TXPWR_IGNORE_TSSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_txpower_check
LBB0_11:
	movq	_B43_ANTENNA_DEFAULT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_b43_mgmtframe_txantenna
	movq	32(%r13), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	*%rax
LBB0_13:
	movq	(%r15), %rax
	cmpq	24(%r13), %rax
	je	LBB0_19
## %bb.14:
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_b43_software_rfkill
	movq	(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_b43info
	cmpl	$0, 8(%r13)
	jne	LBB0_19
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_18
LBB0_17:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_b43_software_rfkill
	leaq	L_.str.2(%rip), %rsi
LBB0_18:
	movq	(%r13), %rdi
	callq	_b43info
	xorl	%r12d, %r12d
LBB0_19:
	movq	%r13, %rdi
	callq	_b43_mac_enable
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CONF_CHANGE_LISTEN_INTERVAL,4,2 ## @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL
	.comm	_IEEE80211_CONF_CHANGE_CHANNEL,4,2 ## @IEEE80211_CONF_CHANGE_CHANNEL
	.comm	_IEEE80211_CONF_CHANGE_RETRY_LIMITS,4,2 ## @IEEE80211_CONF_CHANGE_RETRY_LIMITS
	.comm	_IEEE80211_CONF_MONITOR,4,2     ## @IEEE80211_CONF_MONITOR
	.comm	_B43_TXPWR_IGNORE_TIME,4,2      ## @B43_TXPWR_IGNORE_TIME
	.comm	_B43_TXPWR_IGNORE_TSSI,4,2      ## @B43_TXPWR_IGNORE_TSSI
	.comm	_B43_ANTENNA_DEFAULT,4,2        ## @B43_ANTENNA_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Radio turned on by software\n"

L_.str.1:                               ## @.str.1
	.asciz	"The hardware RF-kill button still turns the radio physically off. Press the button to turn it on.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Radio turned off by software\n"

	.no_dead_strip	_b43_op_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_op_config
_b43_op_config:                         ; @b43_op_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x1
	mov	x22, x0
	bl	_hw_to_b43_wl
	mov	x21, x0
	ldr	x20, [x0, #16]
	add	x19, x0, #8
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x20
	bl	_b43_mac_suspend
Lloh0:
	adrp	x8, _IEEE80211_CONF_CHANGE_LISTEN_INTERVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_LISTEN_INTERVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x22, #32]
	mov	x0, x20
	bl	_b43_set_beacon_listen_interval
LBB0_2:
Lloh3:
	adrp	x8, _IEEE80211_CONF_CHANGE_CHANNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_CHANNEL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.3:
	mov	x8, x22
	ldr	x1, [x8, #24]!
	str	x8, [x20, #48]
	ldr	w8, [x1]
	str	w8, [x20, #40]
	mov	x0, x20
	bl	_b43_switch_band
	mov	x24, x0
	cbnz	w0, LBB0_20
; %bb.4:
	ldr	w1, [x20, #40]
	mov	x0, x20
	bl	_b43_switch_channel
LBB0_5:
Lloh6:
	adrp	x24, _IEEE80211_CONF_CHANGE_RETRY_LIMITS@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IEEE80211_CONF_CHANGE_RETRY_LIMITS@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w23
	b.eq	LBB0_7
; %bb.6:
	ldp	w2, w1, [x22, #16]
	mov	x0, x20
	bl	_b43_set_retry_limits
	ldr	w8, [x24]
LBB0_7:
	bics	wzr, w23, w8
	b.eq	LBB0_19
; %bb.8:
	ldr	w8, [x22]
Lloh8:
	adrp	x9, _IEEE80211_CONF_MONITOR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_CONF_MONITOR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	ldr	x9, [x20]
	str	w8, [x9]
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
Lloh11:
	adrp	x9, _B43_TXPWR_IGNORE_TIME@GOTPAGE
Lloh12:
	ldr	x9, [x9, _B43_TXPWR_IGNORE_TIME@GOTPAGEOFF]
	str	x8, [x20, #16]
Lloh13:
	ldr	w8, [x9]
Lloh14:
	adrp	x9, _B43_TXPWR_IGNORE_TSSI@GOTPAGE
Lloh15:
	ldr	x9, [x9, _B43_TXPWR_IGNORE_TSSI@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_b43_phy_txpower_check
LBB0_11:
Lloh17:
	adrp	x22, _B43_ANTENNA_DEFAULT@GOTPAGE
Lloh18:
	ldr	x22, [x22, _B43_ANTENNA_DEFAULT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_b43_mgmtframe_txantenna
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w1, [x22]
	mov	x0, x20
	blr	x8
LBB0_13:
	ldr	x8, [x21]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.14:
	mov	x0, x20
	cbz	x8, LBB0_17
; %bb.15:
	mov	w1, #0
	bl	_b43_software_rfkill
	ldr	x0, [x20]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43info
	mov	w24, #0
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_20
; %bb.16:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
	mov	w1, #1
	bl	_b43_software_rfkill
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_18:
	ldr	x0, [x20]
	bl	_b43info
LBB0_19:
	mov	w24, #0
LBB0_20:
	mov	x0, x20
	bl	_b43_mac_enable
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CONF_CHANGE_LISTEN_INTERVAL,4,2 ; @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL
	.comm	_IEEE80211_CONF_CHANGE_CHANNEL,4,2 ; @IEEE80211_CONF_CHANGE_CHANNEL
	.comm	_IEEE80211_CONF_CHANGE_RETRY_LIMITS,4,2 ; @IEEE80211_CONF_CHANGE_RETRY_LIMITS
	.comm	_IEEE80211_CONF_MONITOR,4,2     ; @IEEE80211_CONF_MONITOR
	.comm	_B43_TXPWR_IGNORE_TIME,4,2      ; @B43_TXPWR_IGNORE_TIME
	.comm	_B43_TXPWR_IGNORE_TSSI,4,2      ; @B43_TXPWR_IGNORE_TSSI
	.comm	_B43_ANTENNA_DEFAULT,4,2        ; @B43_ANTENNA_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Radio turned on by software\n"

l_.str.1:                               ; @.str.1
	.asciz	"The hardware RF-kill button still turns the radio physically off. Press the button to turn it on.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Radio turned off by software\n"

	.no_dead_strip	_b43_op_config
.subsections_via_symbols
