	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_rap_create                 ## -- Begin function smb_rap_create
	.p2align	4, 0x90
_smb_rap_create:                        ## @smb_rap_create
	.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	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movl	%edi, %ebx
	movl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, %r14
	movq	%rax, 8(%r12)
	movq	%rax, (%r12)
	movq	%rax, -56(%rbp)
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, 24(%r12)
	movq	%rax, 16(%r12)
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %ebx
	addl	$4, %ebx
	cmpb	$0, (%r14)
	je	LBB0_6
## %bb.3:
	leaq	-56(%rbp), %r13
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_smb_rap_parserqparam
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r14
	addl	-48(%rbp), %ebx
	cmpb	$0, (%r14)
	jne	LBB0_4
LBB0_6:
	movl	%ebx, %edi
	callq	_malloc
	movq	%rax, 32(%r12)
	movq	%rax, 40(%r12)
	movq	%r12, %rdi
	movl	$87, %esi
	movl	$1, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_smb_rap_rqparam
	movq	(%r12), %rsi
	movq	%r12, %rdi
	callq	_smb_rap_rqparam_z
	movq	16(%r12), %rsi
	movq	%r12, %rdi
	callq	_smb_rap_rqparam_z
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_rap_create                 ; -- Begin function smb_rap_create
	.p2align	2
_smb_rap_create:                        ; @smb_rap_create
	.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
	mov	x19, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	mov	w0, #48
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	w1, #48
	bl	_bzero
	mov	x0, x24
	bl	_strdup
	mov	x22, x0
	stp	x0, x0, [x20]
	str	x0, [sp, #8]
	mov	x0, x23
	bl	_strdup
	stp	x0, x0, [x20, #16]
	mov	x0, x24
	bl	_strlen
	mov	x24, x0
	mov	x0, x23
	bl	_strlen
	add	w8, w24, w0
	add	w23, w8, #4
	ldrb	w8, [x22]
	cbz	w8, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x22
	bl	_smb_rap_parserqparam
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #4]
	add	w23, w8, w23
	ldr	x22, [sp, #8]
	ldrb	w8, [x22]
	cbnz	w8, LBB0_2
LBB0_4:
	mov	x0, x23
	bl	_malloc
	stp	x0, x0, [x20, #32]
	mov	x0, x20
	mov	w1, #87
	mov	w2, #1
	mov	x3, x21
	bl	_smb_rap_rqparam
	ldr	x1, [x20]
	mov	x0, x20
	bl	_smb_rap_rqparam_z
	ldr	x1, [x20, #16]
	mov	x0, x20
	bl	_smb_rap_rqparam_z
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
