	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wimax_report_rfkill_hw         ## -- Begin function wimax_report_rfkill_hw
	.p2align	4, 0x90
_wimax_report_rfkill_hw:                ## @wimax_report_rfkill_hw
	.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, %r14d
	movq	%rdi, %rbx
	callq	_wimax_dev_to_dev
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%rax, %rsi
	movq	%rbx, %rcx
	movl	%r14d, %r8d
	callq	_d_fnstart
	movq	_WIMAX_RF_QUERY@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax)
	sete	%dil
	callq	_BUG_ON
	movq	_WIMAX_RF_ON@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	setne	%al
	movq	_WIMAX_RF_OFF@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_BUG_ON
	leaq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_wimax_dev_is_ready
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	cmpl	%r14d, (%rbx)
	je	LBB0_7
## %bb.2:
	movl	%r14d, (%rbx)
	movq	_WIMAX_RF_ON@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_5
## %bb.3:
	cmpl	%r14d, 4(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	_WIMAX_ST_READY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_WIMAX_ST_RADIO_OFF@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	movq	_WIMAX_RF_OFF@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	sete	%sil
	callq	_rfkill_set_hw_state
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	___wimax_state_change
LBB0_7:
	movq	%r12, %rdi
	callq	_mutex_unlock
	leaq	L_.str.1(%rip), %rdx
	movl	$3, %edi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	movl	%r14d, %r8d
	movl	%r13d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_d_fnend                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(wimax_dev %p state %u)\n"

	.comm	_WIMAX_RF_QUERY,4,2             ## @WIMAX_RF_QUERY
	.comm	_WIMAX_RF_ON,4,2                ## @WIMAX_RF_ON
	.comm	_WIMAX_RF_OFF,4,2               ## @WIMAX_RF_OFF
	.comm	_WIMAX_ST_READY,4,2             ## @WIMAX_ST_READY
	.comm	_WIMAX_ST_RADIO_OFF,4,2         ## @WIMAX_ST_RADIO_OFF
L_.str.1:                               ## @.str.1
	.asciz	"(wimax_dev %p state %u) = void [%d]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wimax_report_rfkill_hw         ; -- Begin function wimax_report_rfkill_hw
	.p2align	2
_wimax_report_rfkill_hw:                ; @wimax_report_rfkill_hw
	.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	x19, x1
	mov	x20, x0
	bl	_wimax_dev_to_dev
	mov	x21, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_d_fnstart
Lloh2:
	adrp	x8, _WIMAX_RF_QUERY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WIMAX_RF_QUERY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w0, eq
	bl	_BUG_ON
Lloh5:
	adrp	x24, _WIMAX_RF_ON@GOTPAGE
Lloh6:
	ldr	x24, [x24, _WIMAX_RF_ON@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w19
Lloh7:
	adrp	x25, _WIMAX_RF_OFF@GOTPAGE
Lloh8:
	ldr	x25, [x25, _WIMAX_RF_OFF@GOTPAGEOFF]
	ldr	w8, [x25]
	ccmp	w8, w19, #4, ne
	cset	w0, ne
	bl	_BUG_ON
	add	x22, x20, #8
	mov	x0, x22
	bl	_mutex_lock
	mov	x0, x20
	bl	_wimax_dev_is_ready
	mov	x23, x0
	tbnz	w0, #31, LBB0_7
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, w19
	b.eq	LBB0_7
; %bb.2:
	str	w19, [x20]
	ldr	w8, [x24]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x20, #4]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _WIMAX_ST_READY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WIMAX_ST_READY@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _WIMAX_ST_RADIO_OFF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WIMAX_ST_RADIO_OFF@GOTPAGEOFF]
LBB0_6:
	ldr	w24, [x8]
	ldr	w0, [x20, #12]
	ldr	w8, [x25]
	cmp	w8, w19
	cset	w1, eq
	bl	_rfkill_set_hw_state
	mov	x23, x0
	mov	x0, x20
	mov	x1, x24
	bl	___wimax_state_change
LBB0_7:
	mov	x0, x22
	bl	_mutex_unlock
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #3
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x23
	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	_d_fnend
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(wimax_dev %p state %u)\n"

	.comm	_WIMAX_RF_QUERY,4,2             ; @WIMAX_RF_QUERY
	.comm	_WIMAX_RF_ON,4,2                ; @WIMAX_RF_ON
	.comm	_WIMAX_RF_OFF,4,2               ; @WIMAX_RF_OFF
	.comm	_WIMAX_ST_READY,4,2             ; @WIMAX_ST_READY
	.comm	_WIMAX_ST_RADIO_OFF,4,2         ; @WIMAX_ST_RADIO_OFF
l_.str.1:                               ; @.str.1
	.asciz	"(wimax_dev %p state %u) = void [%d]\n"

.subsections_via_symbols
