	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __rfkill_set_hw_state
___rfkill_set_hw_state:                 ## @__rfkill_set_hw_state
	.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
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	callq	_BUG_ON
	leaq	4(%r13), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movl	(%r13), %eax
	movq	_RFKILL_BLOCK_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	notl	%edx
	andl	%eax, %edx
	movl	%ecx, %esi
	orl	%eax, %esi
	testl	%r15d, %r15d
	cmovel	%edx, %esi
	movl	%esi, (%r13)
	xorl	%edx, %edx
	testl	%eax, %ecx
	setne	%dl
	xorl	%eax, %eax
	cmpl	%r15d, %edx
	setne	%al
	movl	%eax, (%r14)
	movq	_RFKILL_BLOCK_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%r13), %ebx
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r13, %rdi
	callq	_rfkill_led_trigger_event
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFKILL_BLOCK_HW,4,2            ## @RFKILL_BLOCK_HW
	.comm	_RFKILL_BLOCK_ANY,4,2           ## @RFKILL_BLOCK_ANY
	.no_dead_strip	___rfkill_set_hw_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __rfkill_set_hw_state
___rfkill_set_hw_state:                 ; @__rfkill_set_hw_state
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x22, x21, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _RFKILL_BLOCK_HW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RFKILL_BLOCK_HW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w10, w8, w9
	orr	w11, w9, w8
	cmp	w20, #0
	csel	w10, w10, w11, eq
	str	w10, [x21]
	tst	w9, w8
	cset	w8, ne
	cmp	w8, w20
	cset	w8, ne
	str	w8, [x19]
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _RFKILL_BLOCK_ANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RFKILL_BLOCK_ANY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w19, w9, w8
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	bl	_rfkill_led_trigger_event
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RFKILL_BLOCK_HW,4,2            ; @RFKILL_BLOCK_HW
	.comm	_RFKILL_BLOCK_ANY,4,2           ; @RFKILL_BLOCK_ANY
	.no_dead_strip	___rfkill_set_hw_state
.subsections_via_symbols
