	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_op_gen_dbglog_cfg
_ath10k_wmi_op_gen_dbglog_cfg:          ## @ath10k_wmi_op_gen_dbglog_cfg
	.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, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	$32, %esi
	callq	_ath10k_wmi_alloc_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r15
	testl	%r13d, %r13d
	jne	LBB0_3
## %bb.2:
	movq	_ATH10K_DBGLOG_LEVEL_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	xorl	%ebx, %ebx
	cmpl	$1, %r13d
	sbbl	%ebx, %ebx
	orl	%r13d, %ebx
	movq	_ATH10K_DBGLOG_CFG_LOG_LVL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_SM
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	___cpu_to_le32
	movq	%rax, 24(%r15)
	movl	$-1, %edi
	callq	___cpu_to_le32
	movq	%rax, 16(%r15)
	movl	%r12d, %edi
	callq	___cpu_to_le32
	movq	%rax, 8(%r15)
	movq	_ATH10K_DBGLOG_CFG_LOG_LVL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___cpu_to_le32
	movq	%rax, (%r15)
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	24(%r15), %rdi
	callq	___le32_to_cpu
	movl	%eax, %r13d
	movq	16(%r15), %rdi
	callq	___le32_to_cpu
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	___le32_to_cpu
	movl	%eax, %r14d
	movq	(%r15), %rdi
	callq	___le32_to_cpu
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_ath10k_dbg
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATH10K_DBGLOG_CFG_LOG_LVL,4,2  ## @ATH10K_DBGLOG_CFG_LOG_LVL
	.comm	_ATH10K_DBGLOG_LEVEL_WARN,4,2   ## @ATH10K_DBGLOG_LEVEL_WARN
	.comm	_ATH10K_DBGLOG_CFG_LOG_LVL_MASK,4,2 ## @ATH10K_DBGLOG_CFG_LOG_LVL_MASK
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmi dbglog cfg modules %08x %08x config %08x %08x\n"

	.no_dead_strip	_ath10k_wmi_op_gen_dbglog_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_op_gen_dbglog_cfg
_ath10k_wmi_op_gen_dbglog_cfg:          ; @ath10k_wmi_op_gen_dbglog_cfg
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	w1, #32
	bl	_ath10k_wmi_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x25, [x0]
Lloh0:
	adrp	x8, _ATH10K_DBGLOG_LEVEL_WARN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_DBGLOG_LEVEL_WARN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, #0
	csel	w0, w8, w22, eq
	csinv	w21, w21, wzr, ne
Lloh3:
	adrp	x8, _ATH10K_DBGLOG_CFG_LOG_LVL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_DBGLOG_CFG_LOG_LVL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SM
	mov	x22, x0
	mov	x0, x21
	bl	___cpu_to_le32
	str	x0, [x25, #24]
	mov	w0, #-1
	bl	___cpu_to_le32
	str	x0, [x25, #16]
	mov	x0, x22
	bl	___cpu_to_le32
	str	x0, [x25, #8]
Lloh6:
	adrp	x8, _ATH10K_DBGLOG_CFG_LOG_LVL_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH10K_DBGLOG_CFG_LOG_LVL_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	___cpu_to_le32
	str	x0, [x25]
Lloh9:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	ldr	x0, [x25, #24]
	bl	___le32_to_cpu
	mov	x22, x0
	ldr	x0, [x25, #16]
	bl	___le32_to_cpu
	mov	x23, x0
	ldr	x0, [x25, #8]
	bl	___le32_to_cpu
	mov	x24, x0
	ldr	x0, [x25]
	bl	___le32_to_cpu
	mov	x6, x0
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_ath10k_dbg
	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
	ret
LBB0_2:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	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	_ERR_PTR
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATH10K_DBGLOG_CFG_LOG_LVL,4,2  ; @ATH10K_DBGLOG_CFG_LOG_LVL
	.comm	_ATH10K_DBGLOG_LEVEL_WARN,4,2   ; @ATH10K_DBGLOG_LEVEL_WARN
	.comm	_ATH10K_DBGLOG_CFG_LOG_LVL_MASK,4,2 ; @ATH10K_DBGLOG_CFG_LOG_LVL_MASK
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmi dbglog cfg modules %08x %08x config %08x %08x\n"

	.no_dead_strip	_ath10k_wmi_op_gen_dbglog_cfg
.subsections_via_symbols
