	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_carl9170_set_slot_time         ## -- Begin function carl9170_set_slot_time
	.p2align	4, 0x90
_carl9170_set_slot_time:                ## @carl9170_set_slot_time
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%rbx, %rdi
	callq	_carl9170_get_main_vif
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.2:
	cmpq	$0, (%rax)
	je	LBB0_3
LBB0_4:
	movl	$9216, %r14d                    ## imm = 0x2400
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	$20480, %r14d                   ## imm = 0x5000
LBB0_5:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_AR9170_MAC_REG_SLOT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_carl9170_write_reg             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_AR9170_MAC_REG_SLOT_TIME,4,2   ## @AR9170_MAC_REG_SLOT_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_carl9170_set_slot_time         ; -- Begin function carl9170_set_slot_time
	.p2align	2
_carl9170_set_slot_time:                ; @carl9170_set_slot_time
	.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	_rcu_read_lock
	mov	x0, x19
	bl	_carl9170_get_main_vif
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
LBB0_3:
	mov	w20, #9216
	b	LBB0_6
LBB0_4:
	bl	_rcu_read_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w20, #20480
LBB0_6:
	bl	_rcu_read_unlock
Lloh3:
	adrp	x8, _AR9170_MAC_REG_SLOT_TIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR9170_MAC_REG_SLOT_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_carl9170_write_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_AR9170_MAC_REG_SLOT_TIME,4,2   ; @AR9170_MAC_REG_SLOT_TIME
.subsections_via_symbols
