	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_ioctl                     ## -- Begin function disk_ioctl
	.p2align	4, 0x90
_disk_ioctl:                            ## @disk_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_4:
	movq	_ENOTTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, (%rdi)
	je	LBB0_7
## %bb.6:
	movl	(%rax), %ecx
	imull	8(%rax), %ecx
	movl	%ecx, (%rdx)
	jmp	LBB0_9
LBB0_7:
	movl	4(%rax), %eax
LBB0_8:
	movl	%eax, (%rdx)
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTTY,4,2                     ## @ENOTTY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_ioctl                     ; -- Begin function disk_ioctl
	.p2align	2
_disk_ioctl:                            ; @disk_ioctl
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x2]
	ret
LBB0_4:
Lloh0:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_5:
	ldr	w9, [x0]
	cbz	w9, LBB0_7
; %bb.6:
	mov	w0, #0
	ldr	w9, [x8, #8]
	ldr	w8, [x8]
	mul	w8, w8, w9
	str	w8, [x2]
	ret
LBB0_7:
	mov	w0, #0
	ldr	w8, [x8, #4]
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTTY,4,2                     ; @ENOTTY
.subsections_via_symbols
