	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_trans_pcie_send_hcmd       ## -- Begin function iwl_trans_pcie_send_hcmd
	.p2align	4, 0x90
_iwl_trans_pcie_send_hcmd:              ## @iwl_trans_pcie_send_hcmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_STATUS_TRANS_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	(%r14), %eax
	movq	_CMD_SEND_IN_RFKILL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
LBB0_6:
	movq	_CMD_ASYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iwl_pcie_send_hcmd_async       ## TAILCALL
LBB0_4:
	movq	_STATUS_RFKILL_OPMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_RF_KILL
	movq	_ERFKILL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iwl_pcie_send_hcmd_sync        ## TAILCALL
LBB0_5:
	movl	(%r14), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_TRANS_DEAD,4,2          ## @STATUS_TRANS_DEAD
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CMD_SEND_IN_RFKILL,4,2         ## @CMD_SEND_IN_RFKILL
	.comm	_STATUS_RFKILL_OPMODE,4,2       ## @STATUS_RFKILL_OPMODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropping CMD 0x%x: RF KILL\n"

	.comm	_ERFKILL,4,2                    ## @ERFKILL
	.comm	_CMD_ASYNC,4,2                  ## @CMD_ASYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_trans_pcie_send_hcmd       ; -- Begin function iwl_trans_pcie_send_hcmd
	.p2align	2
_iwl_trans_pcie_send_hcmd:              ; @iwl_trans_pcie_send_hcmd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STATUS_TRANS_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_TRANS_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _CMD_SEND_IN_RFKILL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CMD_SEND_IN_RFKILL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
Lloh8:
	adrp	x9, _CMD_ASYNC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CMD_ASYNC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	mov	x0, x19
	mov	x1, x20
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_pcie_send_hcmd_async
LBB0_6:
Lloh11:
	adrp	x8, _STATUS_RFKILL_OPMODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STATUS_RFKILL_OPMODE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w2, [x20, #4]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_RF_KILL
Lloh16:
	adrp	x8, _ERFKILL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERFKILL@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_pcie_send_hcmd_sync
LBB0_9:
	ldr	w8, [x20]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_TRANS_DEAD,4,2          ; @STATUS_TRANS_DEAD
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CMD_SEND_IN_RFKILL,4,2         ; @CMD_SEND_IN_RFKILL
	.comm	_STATUS_RFKILL_OPMODE,4,2       ; @STATUS_RFKILL_OPMODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropping CMD 0x%x: RF KILL\n"

	.comm	_ERFKILL,4,2                    ; @ERFKILL
	.comm	_CMD_ASYNC,4,2                  ; @CMD_ASYNC
.subsections_via_symbols
