	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgbi_ppm_make_non_ddp_tag
_cxgbi_ppm_make_non_ddp_tag:            ## @cxgbi_ppm_make_non_ddp_tag
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_cxgbi_ppm_sw_tag_is_usable
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	movl	8(%r15), %ecx
	addl	4(%r15), %ecx
	movl	12(%r15), %eax
	andl	%ebx, %eax
	shrl	%cl, %ebx
	incb	%cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	orl	(%r15), %eax
	orl	%ebx, %eax
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	movl	(%r15), %eax
LBB0_5:
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sw_tag 0x%x NOT usable.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cxgbi_ppm_make_non_ddp_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgbi_ppm_make_non_ddp_tag
_cxgbi_ppm_make_non_ddp_tag:            ; @cxgbi_ppm_make_non_ddp_tag
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_cxgbi_ppm_sw_tag_is_usable
	cbz	w0, LBB0_3
; %bb.1:
	cbz	w20, LBB0_4
; %bb.2:
	ldp	w8, w9, [x21, #8]
	ldp	w11, w10, [x21]
	add	w8, w8, w10
	and	w9, w9, w20
	lsr	w10, w20, w8
	add	w8, w8, #1
	lsl	w8, w10, w8
	orr	w9, w9, w11
	orr	w8, w9, w8
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_info
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	ldr	w8, [x21]
LBB0_5:
	mov	w0, #0
	str	w8, [x19]
LBB0_6:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sw_tag 0x%x NOT usable.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cxgbi_ppm_make_non_ddp_tag
.subsections_via_symbols
