	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hix5hd2_get_desc_cmd
_hix5hd2_get_desc_cmd:                  ## @hix5hd2_get_desc_cmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_HAS_CAP_TSO
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movq	_DESC_SG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	(%rax), %edx
	movq	_DESC_FRAGS_NUM_OFF@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%ebx, %edx
	movq	_DESC_DATA_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	jmp	LBB0_5
LBB0_4:
	movq	_DESC_DATA_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	movq	_DESC_BUFF_LEN_OFF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	shll	%cl, %edx
	movq	_DESC_FL_FULL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
LBB0_5:
	movq	_DESC_DATA_LEN_OFF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	movq	_DESC_VLD_BUSY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_SG,4,2                    ## @DESC_SG
	.comm	_DESC_FRAGS_NUM_OFF,4,2         ## @DESC_FRAGS_NUM_OFF
	.comm	_DESC_FL_FULL,4,2               ## @DESC_FL_FULL
	.comm	_DESC_DATA_MASK,4,2             ## @DESC_DATA_MASK
	.comm	_DESC_BUFF_LEN_OFF,4,2          ## @DESC_BUFF_LEN_OFF
	.comm	_DESC_DATA_LEN_OFF,4,2          ## @DESC_DATA_LEN_OFF
	.comm	_DESC_VLD_BUSY,4,2              ## @DESC_VLD_BUSY
	.no_dead_strip	_hix5hd2_get_desc_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hix5hd2_get_desc_cmd
_hix5hd2_get_desc_cmd:                  ; @hix5hd2_get_desc_cmd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_HAS_CAP_TSO
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DESC_SG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DESC_SG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w20, wzr, w9, eq
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _DESC_FRAGS_NUM_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DESC_FRAGS_NUM_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w9, w8, w20
	ldr	w8, [x19]
Lloh6:
	adrp	x10, _DESC_DATA_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DESC_DATA_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w8, w10, w8
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _DESC_FL_FULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DESC_FL_FULL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x8]
	ldr	w8, [x19]
Lloh12:
	adrp	x10, _DESC_DATA_MASK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _DESC_DATA_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	and	w8, w10, w8
Lloh15:
	adrp	x10, _DESC_BUFF_LEN_OFF@GOTPAGE
Lloh16:
	ldr	x10, [x10, _DESC_BUFF_LEN_OFF@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w10, w8, w10
	orr	w9, w10, w9
LBB0_3:
Lloh18:
	adrp	x10, _DESC_DATA_LEN_OFF@GOTPAGE
Lloh19:
	ldr	x10, [x10, _DESC_DATA_LEN_OFF@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _DESC_VLD_BUSY@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DESC_VLD_BUSY@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_SG,4,2                    ; @DESC_SG
	.comm	_DESC_FRAGS_NUM_OFF,4,2         ; @DESC_FRAGS_NUM_OFF
	.comm	_DESC_FL_FULL,4,2               ; @DESC_FL_FULL
	.comm	_DESC_DATA_MASK,4,2             ; @DESC_DATA_MASK
	.comm	_DESC_BUFF_LEN_OFF,4,2          ; @DESC_BUFF_LEN_OFF
	.comm	_DESC_DATA_LEN_OFF,4,2          ; @DESC_DATA_LEN_OFF
	.comm	_DESC_VLD_BUSY,4,2              ; @DESC_VLD_BUSY
	.no_dead_strip	_hix5hd2_get_desc_cmd
.subsections_via_symbols
