	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfkill_set_states              ## -- Begin function rfkill_set_states
	.p2align	4, 0x90
_rfkill_set_states:                     ## @rfkill_set_states
	.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	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_BUG_ON
	leaq	16(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	_RFKILL_BLOCK_SW@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	-42(%rbp)                       ## 1-byte Folded Spill
	movq	_RFKILL_BLOCK_HW@GOTPCREL(%rip), %r15
	andl	(%r15), %eax
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	movq	%rbx, %rdi
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %esi
	callq	___rfkill_set_sw_state
	movl	(%r15), %eax
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	orl	(%rbx), %eax
	jmp	LBB0_3
LBB0_2:
	notl	%eax
	andl	(%rbx), %eax
LBB0_3:
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	cmpl	$0, 12(%rbx)
	je	LBB0_8
## %bb.4:
	movb	-42(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r13b
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, %al
	cmpl	%r15d, %eax
	je	LBB0_7
LBB0_6:
	leaq	8(%rbx), %rdi
	callq	_schedule_work
LBB0_7:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rfkill_led_trigger_event       ## TAILCALL
LBB0_8:
	movl	$1, 4(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFKILL_BLOCK_SW,4,2            ## @RFKILL_BLOCK_SW
	.comm	_RFKILL_BLOCK_HW,4,2            ## @RFKILL_BLOCK_HW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rfkill_set_states              ; -- Begin function rfkill_set_states
	.p2align	2
_rfkill_set_states:                     ; @rfkill_set_states
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x22, x19, #16
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _RFKILL_BLOCK_SW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RFKILL_BLOCK_SW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w23, ne
Lloh3:
	adrp	x25, _RFKILL_BLOCK_HW@GOTPAGE
Lloh4:
	ldr	x25, [x25, _RFKILL_BLOCK_HW@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	cset	w24, ne
	mov	x0, x19
	mov	x1, x21
	bl	___rfkill_set_sw_state
	ldr	w8, [x25]
	cbz	w20, LBB0_2
; %bb.1:
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [x19]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_7
; %bb.4:
	cmp	w23, w21
	ccmp	w24, w20, #0, eq
	b.eq	LBB0_6
; %bb.5:
	add	x0, x19, #8
	bl	_schedule_work
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rfkill_led_trigger_event
LBB0_7:
	mov	w8, #1
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RFKILL_BLOCK_SW,4,2            ; @RFKILL_BLOCK_SW
	.comm	_RFKILL_BLOCK_HW,4,2            ; @RFKILL_BLOCK_HW
.subsections_via_symbols
