	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_cfg_tlv_u32
_put_cfg_tlv_u32:                       ## @put_cfg_tlv_u32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r9
	leaq	36(%r9), %r8
	movq	_WCN36XX_HAL_BUF_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	jae	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movl	%edx, 24(%rax,%r9)
	movl	$4, (%rax,%r9)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax,%r9)
	movl	%ecx, 32(%rax,%r9)
	addq	$36, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_wcn36xx_err
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WCN36XX_HAL_BUF_SIZE,8,3       ## @WCN36XX_HAL_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not enough room for TLV entry\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_put_cfg_tlv_u32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_cfg_tlv_u32
_put_cfg_tlv_u32:                       ; @put_cfg_tlv_u32
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x1]
	add	x10, x9, #36
Lloh0:
	adrp	x11, _WCN36XX_HAL_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _WCN36XX_HAL_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.hs	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
	add	x8, x8, x9
	str	w2, [x8, #24]
	mov	w9, #4
	str	w9, [x8]
	stp	xzr, xzr, [x8, #8]
	str	w3, [x8, #32]
	ldr	x8, [x1]
	add	x8, x8, #36
	str	x8, [x1]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wcn36xx_err
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WCN36XX_HAL_BUF_SIZE,8,3       ; @WCN36XX_HAL_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not enough room for TLV entry\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_put_cfg_tlv_u32
.subsections_via_symbols
