	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function halbtc_get_wifi_bw
_halbtc_get_wifi_bw:                    ## @halbtc_get_wifi_bw
	.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), %rbx
	movq	_BTC_WIFI_BW_HT20@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_halbtc_legacy
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BTC_WIFI_BW_LEGACY@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$130, %eax
	jne	LBB0_9
## %bb.5:
	movl	(%r15), %r14d
	jmp	LBB0_9
LBB0_7:
	movq	_BTC_WIFI_BW_HT80@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_BTC_WIFI_BW_HT40@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_WIFI_BW_HT20,4,2           ## @BTC_WIFI_BW_HT20
	.comm	_BTC_WIFI_BW_LEGACY,4,2         ## @BTC_WIFI_BW_LEGACY
	.comm	_BTC_WIFI_BW_HT40,4,2           ## @BTC_WIFI_BW_HT40
	.comm	_BTC_WIFI_BW_HT80,4,2           ## @BTC_WIFI_BW_HT80
	.no_dead_strip	_halbtc_get_wifi_bw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function halbtc_get_wifi_bw
_halbtc_get_wifi_bw:                    ; @halbtc_get_wifi_bw
	.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
	ldr	x20, [x0]
Lloh0:
	adrp	x21, _BTC_WIFI_BW_HT20@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BTC_WIFI_BW_HT20@GOTPAGEOFF]
	ldr	w19, [x21]
	mov	x0, x20
	bl	_halbtc_legacy
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _BTC_WIFI_BW_LEGACY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BTC_WIFI_BW_LEGACY@GOTPAGEOFF]
LBB0_2:
	ldr	w19, [x8]
LBB0_3:
	mov	x0, 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
	ret
LBB0_4:
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #130
	b.ne	LBB0_3
; %bb.7:
	ldr	w19, [x21]
	b	LBB0_3
LBB0_8:
Lloh4:
	adrp	x8, _BTC_WIFI_BW_HT80@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BTC_WIFI_BW_HT80@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
Lloh6:
	adrp	x8, _BTC_WIFI_BW_HT40@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTC_WIFI_BW_HT40@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_WIFI_BW_HT20,4,2           ; @BTC_WIFI_BW_HT20
	.comm	_BTC_WIFI_BW_LEGACY,4,2         ; @BTC_WIFI_BW_LEGACY
	.comm	_BTC_WIFI_BW_HT40,4,2           ; @BTC_WIFI_BW_HT40
	.comm	_BTC_WIFI_BW_HT80,4,2           ; @BTC_WIFI_BW_HT80
	.no_dead_strip	_halbtc_get_wifi_bw
.subsections_via_symbols
