	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsi_mac80211_start
_rsi_mac80211_start:                    ## @rsi_mac80211_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	(%r12), %rbx
	movq	_ERR_ZONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_rsi_dbg
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movl	$1, (%rbx)
	movq	8(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
	movq	(%r12), %rdi
	addq	$12, %rdi
	callq	_wait_for_completion
LBB0_2:
	movl	$0, 4(%rbx)
	movl	(%r15), %edi
	callq	_wiphy_rfkill_start_polling
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rsi_send_rx_filter_frame
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_ZONE,4,2                   ## @ERR_ZONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"===> Interface UP <===\n"

	.no_dead_strip	_rsi_mac80211_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsi_mac80211_start
_rsi_mac80211_start:                    ; @rsi_mac80211_start
	.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
	mov	x20, x0
	ldr	x22, [x0, #8]
	ldr	x19, [x22]
Lloh0:
	adrp	x8, _ERR_ZONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_ZONE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_rsi_dbg
	add	x21, x19, #8
	mov	x0, x21
	bl	_mutex_lock
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	mov	x0, x22
	blr	x8
	ldr	x8, [x22]
	add	x0, x8, #12
	bl	_wait_for_completion
LBB0_2:
	str	wzr, [x19, #4]
	ldr	w0, [x20]
	bl	_wiphy_rfkill_start_polling
	mov	x0, x19
	mov	w1, #0
	bl	_rsi_send_rx_filter_frame
	mov	x0, x21
	bl	_mutex_unlock
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_ZONE,4,2                   ; @ERR_ZONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"===> Interface UP <===\n"

	.no_dead_strip	_rsi_mac80211_start
.subsections_via_symbols
