	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function authmethod_get
_authmethod_get:                        ## @authmethod_get
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	jne	LBB0_3
LBB0_2:
	movq	_options@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_3:
	movq	_supported@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_debug3
	movq	(%r14), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, (%r14)
	movq	_options@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_preferred@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	leaq	L_.str.1(%rip), %rdi
	callq	_debug3
	movq	_current@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_6:
	movq	_preferred@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	(%r14), %rsi
	leaq	-44(%rbp), %rdx
	callq	_match_list
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %r14
	leaq	L_.str.4(%rip), %r15
	leaq	-44(%rbp), %r12
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_free
	movq	(%r13), %rdi
	movq	_supported@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdx
	callq	_match_list
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movslq	-44(%rbp), %rax
	addq	%rax, (%r13)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_debug3
	movq	(%r13), %rsi
	movq	%r15, %rdi
	callq	_debug3
	movq	%rbx, %rdi
	callq	_authmethod_lookup
	movq	_current@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rdi
	callq	_authmethod_is_enabled
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	callq	_debug3
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_debug
	movq	%rbx, %rdi
	callq	_free
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_debug
	movq	_current@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_current@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.12:
	callq	_authmethod_is_enabled
	testq	%rax, %rax
	je	LBB0_6
## %bb.13:
	movq	(%rbx), %rbx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_options,8,3                    ## @options
	.comm	_supported,8,3                  ## @supported
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start over, passed a different list %s"

	.comm	_preferred,8,3                  ## @preferred
L_.str.1:                               ## @.str.1
	.asciz	"preferred %s"

	.comm	_current,8,3                    ## @current
L_.str.2:                               ## @.str.2
	.asciz	"No more authentication methods to try."

L_.str.3:                               ## @.str.3
	.asciz	"authmethod_lookup %s"

L_.str.4:                               ## @.str.4
	.asciz	"remaining preferred: %s"

L_.str.5:                               ## @.str.5
	.asciz	"authmethod_is_enabled %s"

L_.str.6:                               ## @.str.6
	.asciz	"Next authentication method: %s"

	.no_dead_strip	_authmethod_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function authmethod_get
_authmethod_get:                        ; @authmethod_get
	.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
Lloh0:
	adrp	x20, _options@GOTPAGE
Lloh1:
	ldr	x20, [x20, _options@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbnz	w8, LBB0_3
LBB0_2:
	ldr	x19, [x20]
LBB0_3:
Lloh2:
	adrp	x22, _supported@GOTPAGE
Lloh3:
	ldr	x22, [x22, _supported@GOTPAGEOFF]
	ldr	x1, [x22]
Lloh4:
	adrp	x23, _preferred@GOTPAGE
Lloh5:
	ldr	x23, [x23, _preferred@GOTPAGEOFF]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_14
LBB0_5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_debug3
	ldr	x0, [x22]
	bl	_free
	mov	x0, x19
	bl	_xstrdup
	str	x0, [x22]
	ldr	x1, [x20]
	str	x1, [x23]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debug3
Lloh10:
	adrp	x8, _current@GOTPAGE
Lloh11:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
LBB0_6:
	ldr	x0, [x23]
	ldr	x1, [x22]
	add	x2, sp, #12
	bl	_match_list
	cbz	x0, LBB0_12
; %bb.7:
	mov	x19, x0
Lloh13:
	adrp	x20, l_.str.3@PAGE
Lloh14:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh15:
	adrp	x24, _current@GOTPAGE
Lloh16:
	ldr	x24, [x24, _current@GOTPAGEOFF]
Lloh17:
	adrp	x21, l_.str.4@PAGE
Lloh18:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_free
	ldr	x0, [x23]
	ldr	x1, [x22]
	add	x2, sp, #12
	bl	_match_list
	mov	x19, x0
	cbz	x0, LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [sp, #12]
	ldr	x9, [x23]
	add	x8, x9, x8
	str	x8, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_debug3
	ldr	x1, [x23]
	mov	x0, x21
	bl	_debug3
	mov	x0, x19
	bl	_authmethod_lookup
	str	x0, [x24]
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_authmethod_is_enabled
	cbz	x0, LBB0_8
; %bb.11:
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_debug3
	str	x19, [sp]
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_debug
	mov	x0, x19
	bl	_free
	ldr	x0, [x24]
	b	LBB0_13
LBB0_12:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug
	mov	x0, #0
Lloh25:
	adrp	x8, _current@GOTPAGE
Lloh26:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh27:
	str	xzr, [x8]
LBB0_13:
	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
LBB0_14:
Lloh28:
	adrp	x19, _current@GOTPAGE
Lloh29:
	ldr	x19, [x19, _current@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.15:
	bl	_authmethod_is_enabled
	cbz	x0, LBB0_6
; %bb.16:
	ldr	x0, [x19]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_options,8,3                    ; @options
	.comm	_supported,8,3                  ; @supported
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start over, passed a different list %s"

	.comm	_preferred,8,3                  ; @preferred
l_.str.1:                               ; @.str.1
	.asciz	"preferred %s"

	.comm	_current,8,3                    ; @current
l_.str.2:                               ; @.str.2
	.asciz	"No more authentication methods to try."

l_.str.3:                               ; @.str.3
	.asciz	"authmethod_lookup %s"

l_.str.4:                               ; @.str.4
	.asciz	"remaining preferred: %s"

l_.str.5:                               ; @.str.5
	.asciz	"authmethod_is_enabled %s"

l_.str.6:                               ; @.str.6
	.asciz	"Next authentication method: %s"

	.no_dead_strip	_authmethod_get
.subsections_via_symbols
