	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_rf_kill_ct_config
_iwl_rf_kill_ct_config:                 ## @iwl_rf_kill_ct_config
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	movq	_CSR_UCODE_DRV_GP1_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_iwl_write32
	movl	$0, 16(%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %r14
	movl	(%rbx), %edi
	callq	_cpu_to_le32
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	movq	%rax, -24(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, -32(%rbp)
	movq	_REPLY_CT_KILL_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$24, %ecx
	callq	_iwl_dvm_send_cmd_pdu
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_INFO
	jmp	LBB0_6
LBB0_4:
	movq	%rax, -40(%rbp)
	movq	_REPLY_CT_KILL_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$24, %ecx
	callq	_iwl_dvm_send_cmd_pdu
	testl	%eax, %eax
	je	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_ERR
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_INFO
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR_UCODE_DRV_GP1_CLR,4,2      ## @CSR_UCODE_DRV_GP1_CLR
	.comm	_CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT,4,2 ## @CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT
	.comm	_REPLY_CT_KILL_CONFIG_CMD,4,2   ## @REPLY_CT_KILL_CONFIG_CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"REPLY_CT_KILL_CONFIG_CMD failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"REPLY_CT_KILL_CONFIG_CMD succeeded, critical temperature enter is %d,exit is %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"REPLY_CT_KILL_CONFIG_CMD succeeded, critical temperature is %d\n"

	.no_dead_strip	_iwl_rf_kill_ct_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_rf_kill_ct_config
_iwl_rf_kill_ct_config:                 ; @iwl_rf_kill_ct_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	w0, [x0, #20]
Lloh0:
	adrp	x8, _CSR_UCODE_DRV_GP1_CLR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1_CLR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_iwl_write32
	str	wzr, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	ldr	w0, [x19]
	bl	_cpu_to_le32
	cbz	x20, LBB0_3
; %bb.1:
	str	x0, [sp, #24]
	ldr	w0, [x19, #4]
	bl	_cpu_to_le32
	str	x0, [sp, #16]
Lloh6:
	adrp	x8, _REPLY_CT_KILL_CONFIG_CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REPLY_CT_KILL_CONFIG_CMD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w3, #24
	bl	_iwl_dvm_send_cmd_pdu
	cbnz	w0, LBB0_4
; %bb.2:
	ldp	w2, w8, [x19]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:
	str	x0, [sp, #8]
Lloh11:
	adrp	x8, _REPLY_CT_KILL_CONFIG_CMD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REPLY_CT_KILL_CONFIG_CMD@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w3, #24
	bl	_iwl_dvm_send_cmd_pdu
	cbz	w0, LBB0_5
LBB0_4:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
	b	LBB0_7
LBB0_5:
	ldr	w2, [x19]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR_UCODE_DRV_GP1_CLR,4,2      ; @CSR_UCODE_DRV_GP1_CLR
	.comm	_CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT,4,2 ; @CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT
	.comm	_REPLY_CT_KILL_CONFIG_CMD,4,2   ; @REPLY_CT_KILL_CONFIG_CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"REPLY_CT_KILL_CONFIG_CMD failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"REPLY_CT_KILL_CONFIG_CMD succeeded, critical temperature enter is %d,exit is %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"REPLY_CT_KILL_CONFIG_CMD succeeded, critical temperature is %d\n"

	.no_dead_strip	_iwl_rf_kill_ct_config
.subsections_via_symbols
