	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pd_eject
_pd_eject:                              ## @pd_eject
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DBMSG
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_pd_wait_for
	movq	_IDE_DOORUNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_pd_send_command
	leaq	L_.str.1(%rip), %rdi
	callq	_DBMSG
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_pd_wait_for
	leaq	L_.str.2(%rip), %rdi
	callq	_DBMSG
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_pd_wait_for
	movq	_IDE_EJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_pd_send_command
	leaq	L_.str.3(%rip), %rdi
	callq	_DBMSG
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_pd_wait_for
	movq	_Ok@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"before unlock on eject"

	.comm	_IDE_DOORUNLOCK,4,2             ## @IDE_DOORUNLOCK
L_.str.1:                               ## @.str.1
	.asciz	"after unlock on eject"

L_.str.2:                               ## @.str.2
	.asciz	"before eject"

	.comm	_IDE_EJECT,4,2                  ## @IDE_EJECT
L_.str.3:                               ## @.str.3
	.asciz	"after eject"

	.comm	_Ok,4,2                         ## @Ok
	.no_dead_strip	_pd_eject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pd_eject
_pd_eject:                              ; @pd_eject
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBMSG
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_pd_wait_for
Lloh2:
	adrp	x8, _IDE_DOORUNLOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDE_DOORUNLOCK@GOTPAGEOFF]
Lloh4:
	ldr	w6, [x8]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_pd_send_command
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBMSG
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_pd_wait_for
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DBMSG
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_pd_wait_for
Lloh9:
	adrp	x8, _IDE_EJECT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDE_EJECT@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_pd_send_command
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DBMSG
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_pd_wait_for
Lloh14:
	adrp	x8, _Ok@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Ok@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"before unlock on eject"

	.comm	_IDE_DOORUNLOCK,4,2             ; @IDE_DOORUNLOCK
l_.str.1:                               ; @.str.1
	.asciz	"after unlock on eject"

l_.str.2:                               ; @.str.2
	.asciz	"before eject"

	.comm	_IDE_EJECT,4,2                  ; @IDE_EJECT
l_.str.3:                               ; @.str.3
	.asciz	"after eject"

	.comm	_Ok,4,2                         ; @Ok
	.no_dead_strip	_pd_eject
.subsections_via_symbols
