	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_tx_action               ## -- Begin function xenvif_tx_action
	.p2align	4, 0x90
_xenvif_tx_action:                      ## @xenvif_tx_action
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	$0, -28(%rbp)
	callq	_tx_work_todo
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_xenvif_tx_build_gops
	movl	-28(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.2:
	movl	8(%r15), %edi
	callq	_gnttab_batch_copy
	movl	-32(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edx
	movl	4(%r15), %edi
	xorl	%esi, %esi
	callq	_gnttab_map_refs
	movl	%eax, %edi
	callq	_BUG_ON
LBB0_4:
	movq	%r15, %rdi
	callq	_xenvif_tx_submit
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_tx_action               ; -- Begin function xenvif_tx_action
	.p2align	2
_xenvif_tx_action:                      ; @xenvif_tx_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #8]
	bl	_tx_work_todo
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_6
; %bb.1:
	add	x2, sp, #8
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_xenvif_tx_build_gops
	ldr	w1, [sp, #8]
	cbz	w1, LBB0_5
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_gnttab_batch_copy
	ldr	w3, [sp, #12]
	cbz	w3, LBB0_4
; %bb.3:
	ldp	w2, w0, [x19]
	mov	x1, #0
	bl	_gnttab_map_refs
	bl	_BUG_ON
LBB0_4:
	mov	x0, x19
	bl	_xenvif_tx_submit
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
