	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tlv_attr_get_null_string
_fm10k_tlv_attr_get_null_string:        ## @fm10k_tlv_attr_get_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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	(%rdi), %r8
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %r8
	xorl	%eax, %eax
	testq	%r8, %r8
	je	LBB0_9
## %bb.4:
	movq	%r8, %r10
	testb	$1, %r8b
	je	LBB0_6
## %bb.5:
	leaq	-1(%r8), %r10
	movq	%r10, %rcx
	andq	$-4, %rcx
	movq	8(%rdi,%rcx,2), %r9
	leal	(,%r10,8), %ecx
	andb	$24, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %r9
	movb	%r9b, -1(%rsi,%r8)
LBB0_6:
	cmpq	$1, %r8
	je	LBB0_9
## %bb.7:
	leaq	-16(,%r10,8), %r8
	decq	%r10
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r10,%r10), %rcx
	andq	$-8, %rcx
	movq	8(%rdi,%rcx), %r9
	leal	8(%r8), %ecx
	andb	$24, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %r9
	movb	%r9b, (%rsi,%r10)
	leaq	(%r10,%r10), %rcx
	addq	$-2, %rcx
	andq	$-8, %rcx
	movq	8(%rdi,%rcx), %rdx
	movl	%r8d, %ecx
	andb	$24, %cl
	shrq	%cl, %rdx
	movb	%dl, -1(%rsi,%r10)
	addq	$-2, %r10
	addq	$-16, %r8
	cmpq	$-1, %r10
	jne	LBB0_8
LBB0_9:
	popq	%rbp
	retq
LBB0_2:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_LEN_SHIFT,8,3        ## @FM10K_TLV_LEN_SHIFT
	.no_dead_strip	_fm10k_tlv_attr_get_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_get_null_string
_fm10k_tlv_attr_get_null_string:        ; @fm10k_tlv_attr_get_null_string
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	cbz	x1, LBB0_6
; %bb.2:
	ldr	x8, [x0], #8
Lloh0:
	adrp	x9, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsr	x9, x8, x9
	cbz	x9, LBB0_5
; %bb.3:
	sub	x8, x9, #1
	lsl	x9, x9, #3
	sub	x9, x9, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #1
	and	x10, x10, #0xfffffffffffffff8
	ldr	x10, [x0, x10]
	and	x11, x9, #0x18
	lsr	x10, x10, x11
	strb	w10, [x1, x8]
	sub	x8, x8, #1
	sub	x9, x9, #8
	cmn	x8, #1
	b.ne	LBB0_4
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
Lloh3:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_LEN_SHIFT,8,3        ; @FM10K_TLV_LEN_SHIFT
	.no_dead_strip	_fm10k_tlv_attr_get_null_string
.subsections_via_symbols
