	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_ctx_readrcsection
_smb_ctx_readrcsection:                 ## @smb_ctx_readrcsection
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	testl	%edx, %edx
	js	LBB0_5
## %bb.1:
	movq	_smb_rc@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rsi
	callq	_rc_getstringptr
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_smb_ctx_setcharset
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_smb_error
LBB0_4:
	cmpl	$1, %ebx
	ja	LBB0_9
LBB0_5:
	movq	_smb_rc@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	4(%r14), %rcx
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rsi
	callq	_rc_getint
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_rc_getint
	cmpl	$1, %ebx
	jne	LBB0_11
## %bb.6:
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rsi
	callq	_rc_getstringptr
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.7:
	movq	%r14, %rdi
	callq	_smb_ctx_setsrvaddr
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_smb_error
	jmp	LBB0_13
LBB0_9:
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rsi
	callq	_rc_getstringptr
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_smb_ctx_setpassword
LBB0_11:
	movq	_smb_rc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rsi
	callq	_rc_getstringptr
	movq	-40(%rbp), %rsi
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_smb_ctx_setworkgroup
LBB0_13:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smb_rc,4,2                     ## @smb_rc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"charsets"

L_.str.1:                               ## @.str.1
	.asciz	"charset specification in the section '%s' ignored"

L_.str.2:                               ## @.str.2
	.asciz	"timeout"

L_.str.3:                               ## @.str.3
	.asciz	"retry_count"

L_.str.4:                               ## @.str.4
	.asciz	"addr"

L_.str.5:                               ## @.str.5
	.asciz	"invalid address specified in the section %s"

L_.str.6:                               ## @.str.6
	.asciz	"password"

L_.str.7:                               ## @.str.7
	.asciz	"workgroup"

	.no_dead_strip	_smb_ctx_readrcsection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_ctx_readrcsection
_smb_ctx_readrcsection:                 ; @smb_ctx_readrcsection
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _smb_rc@GOTPAGE
Lloh1:
	ldr	x22, [x22, _smb_rc@GOTPAGEOFF]
	tbnz	w2, #31, LBB0_5
; %bb.1:
	ldr	w0, [x22]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x1, x19
	bl	_rc_getstringptr
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_smb_ctx_setcharset
	cbz	w0, LBB0_4
; %bb.3:
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_smb_error
LBB0_4:
	cmp	w21, #1
	b.hi	LBB0_9
LBB0_5:
	ldr	w0, [x22]
	add	x3, x20, #4
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_rc_getint
	ldr	w0, [x22]
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x3, x20
	bl	_rc_getint
	cmp	w21, #1
	b.ne	LBB0_11
; %bb.6:
	ldr	w0, [x22]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x3, sp, #8
	mov	x1, x19
	bl	_rc_getstringptr
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_11
; %bb.7:
	mov	x0, x20
	bl	_smb_ctx_setsrvaddr
	cbz	w0, LBB0_11
; %bb.8:
	mov	x21, x0
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #0
	mov	x2, x19
	bl	_smb_error
	b	LBB0_14
LBB0_9:
	ldr	w0, [x22]
Lloh14:
	adrp	x2, l_.str.6@PAGE
Lloh15:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x3, sp, #8
	mov	x1, x19
	bl	_rc_getstringptr
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_smb_ctx_setpassword
LBB0_11:
	ldr	w0, [x22]
Lloh16:
	adrp	x2, l_.str.7@PAGE
Lloh17:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x3, sp, #8
	mov	x1, x19
	bl	_rc_getstringptr
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_smb_ctx_setworkgroup
LBB0_13:
	mov	w21, #0
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_smb_rc,4,2                     ; @smb_rc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"charsets"

l_.str.1:                               ; @.str.1
	.asciz	"charset specification in the section '%s' ignored"

l_.str.2:                               ; @.str.2
	.asciz	"timeout"

l_.str.3:                               ; @.str.3
	.asciz	"retry_count"

l_.str.4:                               ; @.str.4
	.asciz	"addr"

l_.str.5:                               ; @.str.5
	.asciz	"invalid address specified in the section %s"

l_.str.6:                               ; @.str.6
	.asciz	"password"

l_.str.7:                               ; @.str.7
	.asciz	"workgroup"

	.no_dead_strip	_smb_ctx_readrcsection
.subsections_via_symbols
