	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_tlv_op_gen_pdev_set_wmm
_ath10k_wmi_tlv_op_gen_pdev_set_wmm:    ## @ath10k_wmi_tlv_op_gen_pdev_set_wmm
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$140, %esi
	callq	_ath10k_wmi_alloc_skb
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	movq	(%rax), %rbx
	movq	_WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	$4, %edi
	callq	___cpu_to_le16
	movq	%rax, 8(%rbx)
	addq	$28, %rbx
	leaq	12(%r12), %rsi
	movq	%rbx, %rdi
	callq	_ath10k_wmi_tlv_put_wmm
	leaq	8(%r12), %rsi
	movq	%rax, %rdi
	callq	_ath10k_wmi_tlv_put_wmm
	leaq	4(%r12), %rsi
	movq	%rax, %rdi
	callq	_ath10k_wmi_tlv_put_wmm
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ath10k_wmi_tlv_put_wmm
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_ath10k_dbg
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD,4,2 ## @WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmi tlv pdev set wmm\n"

	.no_dead_strip	_ath10k_wmi_tlv_op_gen_pdev_set_wmm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_tlv_op_gen_pdev_set_wmm
_ath10k_wmi_tlv_op_gen_pdev_set_wmm:    ; @ath10k_wmi_tlv_op_gen_pdev_set_wmm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	mov	w1, #140
	bl	_ath10k_wmi_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	___cpu_to_le16
	str	x0, [x22, #16]
	mov	w0, #4
	bl	___cpu_to_le16
	str	x0, [x22, #8]
	add	x0, x22, #28
	add	x1, x21, #12
	bl	_ath10k_wmi_tlv_put_wmm
	add	x1, x21, #8
	bl	_ath10k_wmi_tlv_put_wmm
	add	x1, x21, #4
	bl	_ath10k_wmi_tlv_put_wmm
	mov	x1, x21
	bl	_ath10k_wmi_tlv_put_wmm
Lloh3:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD,4,2 ; @WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmi tlv pdev set wmm\n"

	.no_dead_strip	_ath10k_wmi_tlv_op_gen_pdev_set_wmm
.subsections_via_symbols
