	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tlv_attr_put_null_string
_fm10k_tlv_attr_put_null_string:        ## @fm10k_tlv_attr_put_null_string
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.3:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_FM10K_TLV_DWORD_LEN
	leaq	(%r15,%rax,4), %r8
	xorl	%esi, %esi
	xorl	%eax, %eax
	xorl	%edi, %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %edx
	movzbl	(%r12,%rax), %ebx
	movl	%esi, %ecx
	andb	$24, %cl
	movl	%ebx, %edi
	shll	%cl, %edi
	orl	%edx, %edi
	incq	%rax
	addl	$8, %esi
	testl	%ebx, %ebx
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ecx
	andl	$3, %ecx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ecx
	andl	$-4, %ecx
	movl	%edi, (%r8,%rcx)
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_2:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_8:
	leal	3(%rax), %ecx
	andl	$-4, %ecx
	movl	%edi, (%r8,%rcx)
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rdx
	movb	(%rdx), %cl
	shll	%cl, %eax
	orl	%eax, %r14d
	movl	%r14d, (%r8)
	movq	_FM10K_TLV_HDR_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movb	(%rdx), %cl
	shll	%cl, %edi
	addl	%eax, %edi
	callq	_FM10K_TLV_LEN_ALIGN
	addl	%eax, (%r15)
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ## @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_TLV_HDR_LEN,4,2          ## @FM10K_TLV_HDR_LEN
	.no_dead_strip	_fm10k_tlv_attr_put_null_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_tlv_attr_put_null_string
_fm10k_tlv_attr_put_null_string:        ; @fm10k_tlv_attr_put_null_string
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_7
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_FM10K_TLV_DWORD_LEN
	mov	w11, #0
	mov	x9, #0
	mov	w10, #0
	add	x8, x19, x0, lsl #2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w12, [x21, x9]
	and	w13, w11, #0x18
	lsl	w13, w12, w13
	orr	w10, w13, w10
	add	x9, x9, #1
	add	w11, w11, #8
	cbz	w12, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w12, w9, #0x3
	cbnz	w12, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w12, w9, #0xfffffffc
	str	w10, [x8, w12, uxtw]
	mov	w10, #0
	b	LBB0_3
LBB0_7:
Lloh0:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_8:
	add	w11, w9, #3
	and	w11, w11, #0xfffffffc
	str	w10, [x8, w11, uxtw]
Lloh3:
	adrp	x10, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
	ldr	w11, [x10]
	lsl	w9, w9, w11
	orr	w11, w9, w20
	str	w11, [x8]
Lloh5:
	adrp	x8, _FM10K_TLV_HDR_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FM10K_TLV_HDR_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w10, [x10]
	lsl	w8, w8, w10
	add	w0, w8, w9
	bl	_FM10K_TLV_LEN_ALIGN
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ; @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_TLV_HDR_LEN,4,2          ; @FM10K_TLV_HDR_LEN
	.no_dead_strip	_fm10k_tlv_attr_put_null_string
.subsections_via_symbols
