	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IOSUHAX_memread                ## -- Begin function IOSUHAX_memread
	.p2align	4, 0x90
_IOSUHAX_memread:                       ## @IOSUHAX_memread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movq	_iosuhaxHandle@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_1
## %bb.2:
	movq	%rsi, %r8
	movl	$-1, %eax
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	movl	%edx, %r9d
	testl	%edx, %edx
	je	LBB0_5
## %bb.4:
	movq	_IOCTL_MEM_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	movl	$4, %ecx
	callq	_IOS_Ioctl
	jmp	LBB0_5
LBB0_1:
	movl	%edi, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iosuhaxHandle,8,3              ## @iosuhaxHandle
	.comm	_IOCTL_MEM_READ,4,2             ## @IOCTL_MEM_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IOSUHAX_memread                ; -- Begin function IOSUHAX_memread
	.p2align	2
_IOSUHAX_memread:                       ; @IOSUHAX_memread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	w0, [x29, #-4]
Lloh0:
	adrp	x8, _iosuhaxHandle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iosuhaxHandle@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_4
; %bb.1:
	mov	x4, x1
	mov	w8, #-1
	cbz	x1, LBB0_5
; %bb.2:
	mov	x5, x2
	cbz	w2, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _IOCTL_MEM_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IOCTL_MEM_READ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	mov	w3, #4
	bl	_IOS_Ioctl
	mov	x8, x0
	b	LBB0_5
LBB0_4:
	mov	x8, x0
LBB0_5:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_iosuhaxHandle,8,3              ; @iosuhaxHandle
	.comm	_IOCTL_MEM_READ,4,2             ; @IOCTL_MEM_READ
.subsections_via_symbols
