	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IOSUHAX_FSA_Mount              ## -- Begin function IOSUHAX_FSA_Mount
	.p2align	4, 0x90
_IOSUHAX_FSA_Mount:                     ## @IOSUHAX_FSA_Mount
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_iosuhaxHandle@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	js	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	movl	$-1, %r15d
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	movq	%rdx, %r13
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.3:
	testq	%r8, %r8
	je	LBB0_12
## %bb.4:
	movl	%r9d, %r12d
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %ebx
	addl	%eax, %ebx
	addl	$27, %ebx
	movl	$32, %edi
	movl	%ebx, %esi
	callq	_memalign
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	%r12d, %r15d
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	callq	_memset
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	movl	$24, 4(%r12)
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	leal	25(%rbx), %eax
	movl	%eax, 8(%r12)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r12)
	xorl	%eax, %eax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	addl	$26, %eax
LBB0_8:
	movl	%eax, 16(%r12)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 20(%r12)
	movslq	4(%r12), %rdi
	addq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strcpy
	movslq	8(%r12), %rdi
	addq	%r12, %rdi
	movq	%r13, %rsi
	callq	_strcpy
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.9:
	movslq	16(%r12), %rax
	movq	%r12, %rdi
	addq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
LBB0_10:
	movq	_iosuhaxHandle@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_IOCTL_FSA_MOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %r8
	movq	%r12, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	$4, %r9d
	callq	_IOS_Ioctl
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_free
	testl	%r15d, %r15d
	js	LBB0_12
## %bb.11:
	movl	-56(%rbp), %r15d
	jmp	LBB0_12
LBB0_5:
	movl	$-2, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iosuhaxHandle,8,3              ## @iosuhaxHandle
	.comm	_IOCTL_FSA_MOUNT,4,2            ## @IOCTL_FSA_MOUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IOSUHAX_FSA_Mount              ; -- Begin function IOSUHAX_FSA_Mount
	.p2align	2
_IOSUHAX_FSA_Mount:                     ; @IOSUHAX_FSA_Mount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x26, x0
Lloh0:
	adrp	x27, _iosuhaxHandle@GOTPAGE
Lloh1:
	ldr	x27, [x27, _iosuhaxHandle@GOTPAGEOFF]
	ldr	x0, [x27]
	tbnz	x0, #63, LBB0_12
; %bb.1:
	mov	x24, x1
	mov	w0, #-1
	cbz	x1, LBB0_12
; %bb.2:
	mov	x21, x2
	cbz	x2, LBB0_12
; %bb.3:
	mov	x20, x4
	cbz	x4, LBB0_12
; %bb.4:
	mov	x19, x5
	mov	x25, x3
	mov	x0, x24
	bl	_strlen
	mov	x22, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w19, w22
	add	w8, w8, w0
	add	w22, w8, #27
	mov	w0, #32
	mov	x1, x22
	bl	_memalign
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	mov	w8, #24
	stp	w26, w8, [x23]
	mov	x0, x24
	bl	_strlen
	add	w8, w0, #25
	stp	w8, w25, [x23, #8]
	cbz	w19, LBB0_8
; %bb.6:
	mov	x26, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w26, w0
	add	w8, w8, #26
	b	LBB0_9
LBB0_7:
	mov	w0, #-2
	b	LBB0_12
LBB0_8:
	mov	w8, #0
LBB0_9:
	stp	w8, w19, [x23, #16]
	ldrsw	x8, [x23, #4]
	add	x0, x23, x8
	mov	x1, x24
	bl	_strcpy
	ldrsw	x8, [x23, #8]
	add	x0, x23, x8
	mov	x1, x21
	bl	_strcpy
	cbz	w19, LBB0_11
; %bb.10:
	ldrsw	x8, [x23, #16]
	add	x0, x23, x8
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
LBB0_11:
	ldr	x0, [x27]
Lloh2:
	adrp	x8, _IOCTL_FSA_MOUNT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IOCTL_FSA_MOUNT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x4, sp, #12
	mov	x2, x23
	mov	x3, x22
	mov	w5, #4
	bl	_IOS_Ioctl
	mov	x19, x0
	mov	x0, x23
	bl	_free
	ldr	w8, [sp, #12]
	cmp	w19, #0
	csel	w0, w19, w8, lt
LBB0_12:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_iosuhaxHandle,8,3              ; @iosuhaxHandle
	.comm	_IOCTL_FSA_MOUNT,4,2            ; @IOCTL_FSA_MOUNT
.subsections_via_symbols
