	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_usr_simplerequest          ## -- Begin function smb_usr_simplerequest
	.p2align	4, 0x90
_smb_usr_simplerequest:                 ## @smb_usr_simplerequest
	.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
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_2
## %bb.1:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_14
LBB0_2:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_M_SMBTEMP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$20, %edi
	callq	_malloc
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_SSTOCP
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r12, %rcx
	callq	_smb_rq_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_4:
	leaq	16(%r14), %r12
	movq	%r14, %rdi
	callq	_smb_rq_wstart
	movl	4(%r15), %edx
	movl	52(%r15), %esi
	addl	%edx, %edx
	movq	_MB_MUSER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_mb_put_mem
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movq	%r14, %rdi
	callq	_smb_rq_wend
	movq	%r14, %rdi
	callq	_smb_rq_bstart
	movl	8(%r15), %edx
	movl	48(%r15), %esi
	movq	_MB_MUSER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_mb_put_mem
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	movq	%r14, %rdi
	callq	_smb_rq_bend
	movq	%r14, %rdi
	callq	_smb_rq_simple
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:
	movq	%r14, %r12
	addq	$12, %r12
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_md_get_uint8
	movl	-44(%rbp), %edx
	movl	%edx, 12(%r15)
	addl	%edx, %edx
	movl	%edx, -44(%rbp)
	cmpl	16(%r15), %edx
	jle	LBB0_9
LBB0_8:
	movq	_EBADRPC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_9:
	movq	40(%r15), %rsi
	movq	_MB_MUSER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_md_get_mem
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_md_get_uint16le
	movslq	-44(%rbp), %rsi
	movl	-48(%rbp), %edx
	leal	(%rdx,%rsi), %eax
	cmpl	16(%r15), %eax
	jg	LBB0_8
## %bb.11:
	movl	%edx, 20(%r15)
	addq	40(%r15), %rsi
	movq	_MB_MUSER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_md_get_mem
	movl	%eax, %ebx
LBB0_12:
	movl	8(%r14), %eax
	movl	%eax, 32(%r15)
	movl	4(%r14), %eax
	movl	%eax, 28(%r15)
	movl	(%r14), %eax
	movl	%eax, 24(%r15)
	movq	%r14, %rdi
	callq	_smb_rq_done
LBB0_13:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_free
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_M_SMBTEMP,4,2                  ## @M_SMBTEMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_MB_MUSER,4,2                   ## @MB_MUSER
	.comm	_EBADRPC,4,2                    ## @EBADRPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_usr_simplerequest          ; -- Begin function smb_usr_simplerequest
	.p2align	2
_smb_usr_simplerequest:                 ; @smb_usr_simplerequest
	.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
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EPERM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	b	LBB0_14
LBB0_2:
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh3:
	adrp	x23, _M_SMBTEMP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _M_SMBTEMP@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh5:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w0, #20
	bl	_malloc
	mov	x20, x0
	mov	x0, x22
	bl	_SSTOCP
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x20
	mov	x3, x21
	bl	_smb_rq_init
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
	b	LBB0_13
LBB0_4:
	add	x22, x20, #16
	mov	x0, x20
	bl	_smb_rq_wstart
	ldr	w1, [x19, #52]
	ldr	w8, [x19, #4]
	lsl	w2, w8, #1
Lloh8:
	adrp	x24, _MB_MUSER@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MB_MUSER@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x22
	bl	_mb_put_mem
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.5:
	mov	x0, x20
	bl	_smb_rq_wend
	mov	x0, x20
	bl	_smb_rq_bstart
	ldr	w1, [x19, #48]
	ldr	w2, [x19, #8]
	ldr	w3, [x24]
	mov	x0, x22
	bl	_mb_put_mem
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.6:
	mov	x0, x20
	bl	_smb_rq_bend
	mov	x0, x20
	bl	_smb_rq_simple
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.7:
	add	x22, x20, #12
	add	x1, sp, #12
	mov	x0, x22
	bl	_md_get_uint8
	ldr	w8, [sp, #12]
	str	w8, [x19, #12]
	lsl	w2, w8, #1
	str	w2, [sp, #12]
	ldr	w8, [x19, #16]
	cmp	w2, w8
	b.le	LBB0_9
LBB0_8:
Lloh10:
	adrp	x8, _EBADRPC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EBADRPC@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	b	LBB0_12
LBB0_9:
	ldr	x1, [x19, #40]
	ldr	w3, [x24]
	mov	x0, x22
	bl	_md_get_mem
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.10:
	add	x1, sp, #8
	mov	x0, x22
	bl	_md_get_uint16le
	ldp	w2, w8, [sp, #8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	ldr	w9, [x19, #16]
	add	w10, w2, w8
	cmp	w10, w9
	b.gt	LBB0_8
; %bb.11:
	str	w2, [x19, #20]
	ldr	x9, [x19, #40]
	add	x1, x9, x8
	ldr	w3, [x24]
	mov	x0, x22
	bl	_md_get_mem
	mov	x21, x0
LBB0_12:
	ldr	w8, [x20, #8]
	str	w8, [x19, #32]
	ldr	d0, [x20]
	str	d0, [x19, #24]
	mov	x0, x20
	bl	_smb_rq_done
LBB0_13:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_free
LBB0_14:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_M_SMBTEMP,4,2                  ; @M_SMBTEMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_MB_MUSER,4,2                   ; @MB_MUSER
	.comm	_EBADRPC,4,2                    ; @EBADRPC
.subsections_via_symbols
