	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenbusb_back_enumerate_type
_xenbusb_back_enumerate_type:           ## @xenbusb_back_enumerate_type
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	callq	_device_get_softc
	movq	%rax, %rbx
	movq	_XST_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	leaq	-72(%rbp), %rcx
	leaq	-80(%rbp), %r8
	movq	%r15, %rdx
	callq	_xs_directory
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, -72(%rbp)
	je	LBB0_8
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi
	movq	_M_XENSTORE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	cmpq	-72(%rbp), %rcx
	jae	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	-80(%rbp), %rax
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_xs_join
	movq	%rax, %r13
	movq	_XST_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_sbuf_data
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rax, %rdx
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r8
	callq	_xs_directory
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_sbuf_delete
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -56(%rbp)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r12, %rdi
	callq	_xs_join
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_sbuf_data
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_xenbusb_add_device
	movq	%r13, %rdi
	callq	_sbuf_delete
	incq	%rbx
	cmpq	-56(%rbp), %rbx
	jb	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movq	-80(%rbp), %rdi
	movq	_M_XENSTORE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	xorl	%eax, %eax
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XST_NIL,4,2                    ## @XST_NIL
	.comm	_M_XENSTORE,4,2                 ## @M_XENSTORE
	.no_dead_strip	_xenbusb_back_enumerate_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenbusb_back_enumerate_type
_xenbusb_back_enumerate_type:           ; @xenbusb_back_enumerate_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	bl	_device_get_softc
	mov	x21, x0
Lloh0:
	adrp	x26, _XST_NIL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _XST_NIL@GOTPAGEOFF]
	ldr	w0, [x26]
	ldr	w1, [x21]
	add	x3, sp, #16
	add	x4, sp, #24
	mov	x2, x19
	bl	_xs_directory
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	x8, [sp, #16]
Lloh2:
	adrp	x27, _M_XENSTORE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _M_XENSTORE@GOTPAGEOFF]
	cbz	x8, LBB0_8
; %bb.2:
	mov	x28, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #8]
	ldr	w1, [x27]
	bl	_free
	add	x28, x28, #1
	ldr	x8, [sp, #16]
	cmp	x28, x8
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [sp, #24]
	ldr	x22, [x8, x28, lsl #3]
	mov	x0, x19
	mov	x1, x22
	bl	_xs_join
	mov	x23, x0
	ldr	w24, [x26]
	ldr	w25, [x21]
	bl	_sbuf_data
	mov	x2, x0
	mov	x3, sp
	add	x4, sp, #8
	mov	x0, x24
	mov	x1, x25
	bl	_xs_directory
	mov	x24, x0
	mov	x0, x23
	bl	_sbuf_delete
	cbnz	w24, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #8]
	ldr	x1, [x8, x24, lsl #3]
	mov	x0, x22
	bl	_xs_join
	mov	x23, x0
	bl	_sbuf_data
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_xenbusb_add_device
	mov	x0, x23
	bl	_sbuf_delete
	add	x24, x24, #1
	ldr	x8, [sp]
	cmp	x24, x8
	b.lo	LBB0_7
	b	LBB0_3
LBB0_8:
	ldr	x0, [sp, #24]
	ldr	w1, [x27]
	bl	_free
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_XST_NIL,4,2                    ; @XST_NIL
	.comm	_M_XENSTORE,4,2                 ; @M_XENSTORE
	.no_dead_strip	_xenbusb_back_enumerate_type
.subsections_via_symbols
