	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2400pci_config
_rt2400pci_config:                      ## @rt2400pci_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_IEEE80211_CONF_CHANGE_CHANNEL@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_rt2400pci_config_channel
LBB0_2:
	movq	_IEEE80211_CONF_CHANGE_POWER@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rt2400pci_config_txpower
LBB0_4:
	movq	_IEEE80211_CONF_CHANGE_RETRY_LIMITS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rt2400pci_config_retry_limit
LBB0_6:
	movq	_IEEE80211_CONF_CHANGE_PS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rt2400pci_config_ps            ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CONF_CHANGE_CHANNEL,4,2 ## @IEEE80211_CONF_CHANGE_CHANNEL
	.comm	_IEEE80211_CONF_CHANGE_POWER,4,2 ## @IEEE80211_CONF_CHANGE_POWER
	.comm	_IEEE80211_CONF_CHANGE_RETRY_LIMITS,4,2 ## @IEEE80211_CONF_CHANGE_RETRY_LIMITS
	.comm	_IEEE80211_CONF_CHANGE_PS,4,2   ## @IEEE80211_CONF_CHANGE_PS
	.no_dead_strip	_rt2400pci_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2400pci_config
_rt2400pci_config:                      ; @rt2400pci_config
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IEEE80211_CONF_CHANGE_CHANNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_CHANNEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	add	x1, x19, #8
	mov	x0, x20
	bl	_rt2400pci_config_channel
LBB0_2:
Lloh3:
	adrp	x8, _IEEE80211_CONF_CHANGE_POWER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_POWER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rt2400pci_config_txpower
LBB0_4:
Lloh6:
	adrp	x8, _IEEE80211_CONF_CHANGE_RETRY_LIMITS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_RETRY_LIMITS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_rt2400pci_config_retry_limit
LBB0_6:
Lloh9:
	adrp	x8, _IEEE80211_CONF_CHANGE_PS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_PS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	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
	b	_rt2400pci_config_ps
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CONF_CHANGE_CHANNEL,4,2 ; @IEEE80211_CONF_CHANGE_CHANNEL
	.comm	_IEEE80211_CONF_CHANGE_POWER,4,2 ; @IEEE80211_CONF_CHANGE_POWER
	.comm	_IEEE80211_CONF_CHANGE_RETRY_LIMITS,4,2 ; @IEEE80211_CONF_CHANGE_RETRY_LIMITS
	.comm	_IEEE80211_CONF_CHANGE_PS,4,2   ; @IEEE80211_CONF_CHANGE_PS
	.no_dead_strip	_rt2400pci_config
.subsections_via_symbols
