	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfkill_set_block
_rfkill_set_block:                      ## @rfkill_set_block
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_PM_EVENT_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	24(%rbx), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	*%rax
LBB0_3:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	_RFKILL_BLOCK_SW@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	andl	%eax, %ecx
	movq	_RFKILL_BLOCK_SW_PREV@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	notl	%esi
	andl	%eax, %esi
	orl	%eax, %edx
	testl	%ecx, %ecx
	cmovel	%esi, %edx
	movl	%edx, (%rbx)
	movl	(%r13), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%edx, %ecx
	orl	%eax, %edx
	testl	%r15d, %r15d
	cmovel	%ecx, %edx
	movl	%edx, (%rbx)
	movq	_RFKILL_BLOCK_SW_SETCALL@GOTPCREL(%rip), %r12
	orl	(%r12), %edx
	movl	%edx, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	16(%rbx), %rax
	movl	8(%rbx), %edi
	movl	%r15d, %esi
	callq	*(%rax)
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.5:
	movq	_RFKILL_BLOCK_SW_PREV@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ecx
	andl	%eax, %ecx
	movl	(%r13), %edx
	movl	%edx, %esi
	orl	%eax, %esi
	notl	%edx
	andl	%eax, %edx
	testl	%ecx, %ecx
	cmovnel	%esi, %edx
	movl	%edx, (%rbx)
	movl	%edx, %eax
	movq	%rdi, %rdx
	jmp	LBB0_6
LBB0_4:
	movq	_RFKILL_BLOCK_SW_PREV@GOTPCREL(%rip), %rdx
LBB0_6:
	movl	(%r12), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	(%rdx), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_rfkill_led_trigger_event
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rfkill_event                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PM_EVENT_SLEEP,4,2             ## @PM_EVENT_SLEEP
	.comm	_RFKILL_BLOCK_SW,4,2            ## @RFKILL_BLOCK_SW
	.comm	_RFKILL_BLOCK_SW_PREV,4,2       ## @RFKILL_BLOCK_SW_PREV
	.comm	_RFKILL_BLOCK_SW_SETCALL,4,2    ## @RFKILL_BLOCK_SW_SETCALL
	.no_dead_strip	_rfkill_set_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfkill_set_block
_rfkill_set_block:                      ; @rfkill_set_block
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0, #24]
Lloh0:
	adrp	x9, _PM_EVENT_SLEEP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PM_EVENT_SLEEP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w1, [x19, #8]
	mov	x0, x19
	blr	x8
LBB0_4:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
Lloh3:
	adrp	x23, _RFKILL_BLOCK_SW@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RFKILL_BLOCK_SW@GOTPAGEOFF]
Lloh5:
	adrp	x22, _RFKILL_BLOCK_SW_PREV@GOTPAGE
Lloh6:
	ldr	x22, [x22, _RFKILL_BLOCK_SW_PREV@GOTPAGEOFF]
	ldr	w9, [x23]
	ldr	w10, [x22]
	bic	w11, w8, w10
	orr	w10, w10, w8
	tst	w9, w8
	csel	w8, w11, w10, eq
	str	w8, [x19]
	ldr	w9, [x23]
	bic	w10, w8, w9
	orr	w8, w9, w8
	cmp	w21, #0
	csel	w8, w10, w8, eq
	str	w8, [x19]
Lloh7:
	adrp	x24, _RFKILL_BLOCK_SW_SETCALL@GOTPAGE
Lloh8:
	ldr	x24, [x24, _RFKILL_BLOCK_SW_SETCALL@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w0, [x19, #8]
	mov	x1, x21
	blr	x8
	mov	x21, x0
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
	cbz	w21, LBB0_6
; %bb.5:
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w11, w10, w8
	bic	w10, w8, w10
	tst	w9, w8
	csel	w8, w10, w11, eq
	str	w8, [x19]
LBB0_6:
	ldr	w9, [x24]
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	w9, [x22]
	bic	w8, w8, w9
	str	w8, [x19]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_rfkill_led_trigger_event
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rfkill_event
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PM_EVENT_SLEEP,4,2             ; @PM_EVENT_SLEEP
	.comm	_RFKILL_BLOCK_SW,4,2            ; @RFKILL_BLOCK_SW
	.comm	_RFKILL_BLOCK_SW_PREV,4,2       ; @RFKILL_BLOCK_SW_PREV
	.comm	_RFKILL_BLOCK_SW_SETCALL,4,2    ; @RFKILL_BLOCK_SW_SETCALL
	.no_dead_strip	_rfkill_set_block
.subsections_via_symbols
