	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_radio_read16         ## -- Begin function b43legacy_radio_read16
	.p2align	4, 0x90
_b43legacy_radio_read16:                ## @b43legacy_radio_read16
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.2:
	movl	4(%rbx), %eax
	cmpl	$8272, %eax                     ## imm = 0x2050
	je	LBB0_8
## %bb.3:
	cmpl	$8275, %eax                     ## imm = 0x2053
	jne	LBB0_9
## %bb.4:
	cmpl	$111, %r14d
	jg	LBB0_10
## %bb.5:
	subl	$-128, %r14d
	jmp	LBB0_11
LBB0_8:
	orl	$128, %r14d
	jmp	LBB0_11
LBB0_7:
	movl	$1, %edi
	callq	_B43legacy_BUG_ON
	jmp	LBB0_11
LBB0_9:
	movl	$1, %edi
	callq	_B43legacy_WARN_ON
	jmp	LBB0_11
LBB0_10:
	leal	112(%r14), %eax
	cmpl	$128, %r14d
	cmovael	%r14d, %eax
	movl	%eax, %r14d
LBB0_11:
	movq	_B43legacy_MMIO_RADIO_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_b43legacy_write16
	movq	_B43legacy_MMIO_RADIO_DATA_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43legacy_read16               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_MMIO_RADIO_CONTROL,4,2 ## @B43legacy_MMIO_RADIO_CONTROL
	.comm	_B43legacy_MMIO_RADIO_DATA_LOW,4,2 ## @B43legacy_MMIO_RADIO_DATA_LOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_radio_read16         ; -- Begin function b43legacy_radio_read16
	.p2align	2
_b43legacy_radio_read16:                ; @b43legacy_radio_read16
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x19, #4]
	mov	w9, #8272
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.3:
	mov	w9, #8275
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.4:
	add	w8, w20, #112
	cmp	w20, #128
	csel	w8, w8, w20, lo
	add	w9, w20, #128
	cmp	w20, #111
	csel	w20, w8, w9, gt
	b	LBB0_8
LBB0_5:
	orr	w20, w20, #0x80
	b	LBB0_8
LBB0_6:
	mov	w0, #1
	bl	_B43legacy_BUG_ON
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_B43legacy_WARN_ON
LBB0_8:
Lloh0:
	adrp	x8, _B43legacy_MMIO_RADIO_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_MMIO_RADIO_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_b43legacy_write16
Lloh3:
	adrp	x8, _B43legacy_MMIO_RADIO_DATA_LOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43legacy_MMIO_RADIO_DATA_LOW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43legacy_read16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_MMIO_RADIO_CONTROL,4,2 ; @B43legacy_MMIO_RADIO_CONTROL
	.comm	_B43legacy_MMIO_RADIO_DATA_LOW,4,2 ; @B43legacy_MMIO_RADIO_DATA_LOW
.subsections_via_symbols
