	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radio_bits_set
_radio_bits_set:                        ## @radio_bits_set
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r13d
	movq	_IO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	callq	_inw
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IO_DIR@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	addl	%r13d, %edi
	callq	_inw
	movq	_STR_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_STR_CLK@GOTPCREL(%rip), %rbx
	movq	_STR_WREN@GOTPCREL(%rip), %r15
	orl	(%rbx), %ecx
	orl	(%r15), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	orl	%ecx, %edi
	movl	(%r12), %esi
	addl	%r13d, %esi
	callq	_outw
	movl	(%rbx), %edi
	movq	_STR_DATA@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	%r15, %r12
	orl	(%r15), %edi
	notl	%edi
	movq	_IO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r13d, %esi
	callq	_outw
	movl	$16, %edi
	callq	_udelay
	movl	$-25, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %ebx
	sarl	$18, %ebx
	movq	_STR_DATA@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	orl	(%r12), %ebx
	addl	%r14d, %r14d
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_outw
	movl	$2, %edi
	callq	_udelay
	movq	_STR_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	%ebx, %edi
	movl	%r13d, %esi
	callq	_outw
	movl	$2, %edi
	callq	_udelay
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_outw
	movl	$4, %edi
	callq	_udelay
	incl	%r15d
	jne	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	movl	%r13d, %esi
	callq	_outw
LBB0_4:
	movl	$4, %edi
	callq	_udelay
	movq	_IO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r13d, %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_outw
	movq	_IO_DIR@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	callq	_outw
	movl	$125, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msleep                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_MASK,4,2                    ## @IO_MASK
	.comm	_IO_DIR,4,2                     ## @IO_DIR
	.comm	_STR_DATA,4,2                   ## @STR_DATA
	.comm	_STR_CLK,4,2                    ## @STR_CLK
	.comm	_STR_WREN,4,2                   ## @STR_WREN
	.no_dead_strip	_radio_bits_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radio_bits_set
_radio_bits_set:                        ; @radio_bits_set
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x21, x0
	ldr	w19, [x0]
Lloh0:
	adrp	x24, _IO_MASK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IO_MASK@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w0, w8, w19
	bl	_inw
	mov	x20, x0
Lloh2:
	adrp	x26, _IO_DIR@GOTPAGE
Lloh3:
	ldr	x26, [x26, _IO_DIR@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w0, w8, w19
	bl	_inw
Lloh4:
	adrp	x27, _STR_DATA@GOTPAGE
Lloh5:
	ldr	x27, [x27, _STR_DATA@GOTPAGEOFF]
	ldr	w8, [x27]
	bic	w9, w0, w8
Lloh6:
	adrp	x28, _STR_CLK@GOTPAGE
Lloh7:
	ldr	x28, [x28, _STR_CLK@GOTPAGEOFF]
	ldr	w10, [x28]
Lloh8:
	adrp	x25, _STR_WREN@GOTPAGE
Lloh9:
	ldr	x25, [x25, _STR_WREN@GOTPAGEOFF]
	ldr	w11, [x25]
	orr	w9, w9, w10
	orr	w23, w9, w11
	orr	w0, w23, w8
	ldr	w8, [x26]
	add	w1, w8, w19
	bl	_outw
	ldr	w8, [x27]
	ldr	w9, [x28]
	orr	w8, w9, w8
	ldr	w9, [x25]
	orr	w8, w8, w9
	mvn	w0, w8
	ldr	w8, [x24]
	add	w1, w8, w19
	bl	_outw
	mov	w0, #16
	bl	_udelay
	mov	w26, #-25
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x27]
	and	w8, w8, w22, asr #18
	ldr	w9, [x25]
	orr	w24, w8, w9
	lsl	w22, w22, #1
	mov	x0, x24
	mov	x1, x19
	bl	_outw
	mov	w0, #2
	bl	_udelay
	ldr	w8, [x28]
	orr	w0, w8, w24
	mov	x1, x19
	bl	_outw
	mov	w0, #2
	bl	_udelay
	mov	x0, x24
	mov	x1, x19
	bl	_outw
	mov	w0, #4
	bl	_udelay
	adds	w26, w26, #1
	b.lo	LBB0_1
; %bb.2:
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	w0, #0
	mov	x1, x19
	bl	_outw
LBB0_4:
	mov	w0, #4
	bl	_udelay
Lloh10:
	adrp	x8, _IO_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IO_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	add	w1, w8, w19
	mov	x0, x20
	bl	_outw
Lloh13:
	adrp	x8, _IO_DIR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IO_DIR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	add	w1, w8, w19
	mov	x0, x23
	bl	_outw
	mov	w0, #125
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_msleep
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_MASK,4,2                    ; @IO_MASK
	.comm	_IO_DIR,4,2                     ; @IO_DIR
	.comm	_STR_DATA,4,2                   ; @STR_DATA
	.comm	_STR_CLK,4,2                    ; @STR_CLK
	.comm	_STR_WREN,4,2                   ; @STR_WREN
	.no_dead_strip	_radio_bits_set
.subsections_via_symbols
