	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xennet_create_queues
_xennet_create_queues:                  ## @xennet_create_queues
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rsi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_kcalloc
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	xorl	%r13d, %r13d
	cmpl	$0, (%r15)
	movl	$0, %r14d
	je	LBB0_13
## %bb.2:
	movq	%rax, %rbx
	movl	$0, (%rax)
	movq	%r12, 8(%rax)
	movq	%rax, %rdi
	callq	_xennet_init_queue
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	addq	$8, %rax
	movl	$16, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rax
	movl	8(%rax), %edi
	addq	%r15, %rbx
	addq	$-12, %rbx
	movq	_xennet_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movl	$64, %ecx
	callq	_netif_napi_add
	movl	8(%r12), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_napi_enable
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%r13), %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	cmpq	%rax, %r14
	jae	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r12), %rbx
	leaq	(%rbx,%r15), %rdi
	incl	%r13d
	movl	%r13d, (%rbx,%r15)
	movq	%r14, %rax
	shlq	$4, %rax
	addq	%rbx, %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, 8(%rbx,%r15)
	callq	_xennet_init_queue
	addq	$16, %r15
	movq	%r14, %r13
	testl	%eax, %eax
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jns	LBB0_6
## %bb.11:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_3:
	xorl	%r14d, %r14d
LBB0_12:
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_warn
	movl	%r14d, (%r15)
	jmp	LBB0_13
LBB0_9:
	movl	%eax, %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	xorl	%r13d, %r13d
LBB0_13:
	movl	8(%r12), %edi
	movl	%r14d, %esi
	callq	_netif_set_real_num_tx_queues
	cmpl	$0, (%r15)
	jne	LBB0_16
## %bb.14:
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_16:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"only created %d queues\n"

	.comm	_xennet_poll,4,2                ## @xennet_poll
L_.str.1:                               ## @.str.1
	.asciz	"no queues\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xennet_create_queues
_xennet_create_queues:                  ; @xennet_create_queues
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x21, x0
	str	wzr, [x0]
	mov	x26, x0
	str	x19, [x26, #8]!
	bl	_xennet_init_queue
	tbnz	w0, #31, LBB0_10
; %bb.3:
	mov	x23, #0
	mov	x25, #0
Lloh3:
	adrp	x24, _xennet_poll@GOTPAGE
Lloh4:
	ldr	x24, [x24, _xennet_poll@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	w0, [x8, #8]
	add	x8, x21, x23
	add	x21, x8, #4
	ldr	w2, [x24]
	mov	x1, x21
	mov	w3, #64
	bl	_netif_napi_add
	ldr	w0, [x19, #8]
	bl	_netif_running
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_napi_enable
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x25, #1
	ldr	w8, [x20]
	cmp	x22, x8
	b.hs	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x19, #16]
	add	x0, x21, x23
	add	w8, w25, #1
	str	w8, [x0, #16]!
	add	x8, x21, x22, lsl #4
	add	x26, x8, #8
	str	x19, [x0, #8]
	bl	_xennet_init_queue
	add	x23, x23, #16
	mov	x25, x22
	tbz	w0, #31, LBB0_4
	b	LBB0_11
LBB0_8:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
	mov	w22, #0
	b	LBB0_13
LBB0_10:
	mov	w22, #0
LBB0_11:
	ldr	x0, [x19]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_warn
	str	w22, [x20]
	b	LBB0_13
LBB0_12:
	mov	x22, x8
LBB0_13:
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_netif_set_real_num_tx_queues
	ldr	w8, [x20]
	cbz	w8, LBB0_15
; %bb.14:
	mov	w0, #0
	b	LBB0_17
LBB0_15:
	ldr	x0, [x19]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"only created %d queues\n"

	.comm	_xennet_poll,4,2                ; @xennet_poll
l_.str.1:                               ; @.str.1
	.asciz	"no queues\n"

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