	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eject_store
_eject_store:                           ## @eject_store
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	callq	_to_gb_module
	movq	%rax, %r12
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_kstrtol
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	cmpq	$0, -48(%rbp)
	je	LBB0_6
## %bb.2:
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %r13
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	$1, (%r13)
	movq	%r13, %rdi
	callq	_gb_interface_disable
	movq	%r13, %rdi
	callq	_gb_interface_deactivate
	movq	%r15, %rdi
	callq	_mutex_unlock
	incq	%rbx
	cmpq	(%r12), %rbx
	jb	LBB0_4
LBB0_5:
	movq	16(%r12), %rax
	movl	(%rax), %edi
	movl	8(%r12), %esi
	callq	_gb_svc_intf_eject
	testl	%eax, %eax
	cmovnel	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_eject_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eject_store
_eject_store:                           ; @eject_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x3
	mov	x21, x2
	bl	_to_gb_module
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtol
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x23, #0
	mov	w24, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	x21, [x8, x23, lsl #3]
	add	x22, x21, #4
	mov	x0, x22
	bl	_mutex_lock
	str	w24, [x21]
	mov	x0, x21
	bl	_gb_interface_disable
	mov	x0, x21
	bl	_gb_interface_deactivate
	mov	x0, x22
	bl	_mutex_unlock
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.lo	LBB0_4
LBB0_5:
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	_gb_svc_intf_eject
	cmp	w0, #0
	csel	w0, w19, w0, eq
	b	LBB0_7
LBB0_6:
	mov	x0, x19
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_eject_store
.subsections_via_symbols
