	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_frame_duration       ## -- Begin function ieee80211_frame_duration
	.p2align	4, 0x90
_ieee80211_frame_duration:              ## @ieee80211_frame_duration
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_IEEE80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_2
## %bb.3:
	movl	%r8d, %ebx
	leal	(%rsi,%rsi,4), %edi
	shll	$4, %edi
	addl	$320, %edi                      ## imm = 0x140
	movl	%edx, %esi
	callq	_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	leal	106(%rax), %ecx
	addl	$202, %eax
	testl	%ebx, %ebx
	cmovnel	%ecx, %eax
	jmp	LBB0_4
LBB0_2:
	leal	(%rsi,%rsi,4), %edi
	shll	$4, %edi
	addl	$540, %edi                      ## imm = 0x21C
	shll	$2, %edx
	movl	%edx, %esi
	callq	_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	leal	36(,%rax,4), %eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_BAND_5GHZ,4,2        ## @IEEE80211_BAND_5GHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_frame_duration       ; -- Begin function ieee80211_frame_duration
	.p2align	2
_ieee80211_frame_duration:              ; @ieee80211_frame_duration
	.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
	cbnz	w3, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _IEEE80211_BAND_5GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_BAND_5GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #106
	mov	w9, #202
	cmp	w4, #0
	csel	w19, w9, w8, eq
	mov	w8, #80
	mul	w8, w1, w8
	add	w0, w8, #320
	mov	x1, x2
	bl	_DIV_ROUND_UP
	add	w0, w0, w19
	b	LBB0_4
LBB0_3:
	mov	w8, #80
	mul	w8, w1, w8
	add	w0, w8, #540
	lsl	w1, w2, #2
	bl	_DIV_ROUND_UP
	lsl	w8, w0, #2
	add	w0, w8, #36
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_BAND_5GHZ,4,2        ; @IEEE80211_BAND_5GHZ
.subsections_via_symbols
