	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_getstyle                 ## -- Begin function login_getstyle
	.p2align	4, 0x90
_login_getstyle:                        ## @login_getstyle
	.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	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movq	%rdx, %rcx
	cmpb	$0, (%rdx)
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	callq	_snprintf
	cmpl	$63, %eax
	jg	LBB0_4
## %bb.3:
	leaq	-112(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_login_getcaplist
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_login_getcaplist
LBB0_5:
	testq	%rax, %rax
	leaq	_login_getstyle.defauthtypes(%rip), %r12
	cmovneq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_14
## %bb.6:
	cmpb	$0, (%r15)
	je	LBB0_14
## %bb.7:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r12,%rbx,8), %rsi
	incq	%rbx
	testq	%rsi, %rsi
	jne	LBB0_9
LBB0_11:
	movl	%ebx, %eax
	jmp	LBB0_15
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	movq	$0, (%r14)
	movq	(%r12,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.16:
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	%rax, %rdi
	callq	_strdup
	movq	%rax, (%r14)
	jmp	LBB0_20
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_22
## %bb.21:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @login_getstyle.defauthtypes
_login_getstyle.defauthtypes:
	.quad	128
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth-%s"

L_.str.1:                               ## @.str.1
	.asciz	"auth"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_getstyle                 ; -- Begin function login_getstyle
	.p2align	2
_login_getstyle:                        ; @login_getstyle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	x2, LBB0_4
; %bb.1:
	mov	x3, x2
	ldrb	w8, [x2]
	cbz	w8, LBB0_4
; %bb.2:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	bl	_snprintf
	cmp	w0, #63
	b.gt	LBB0_4
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_login_getcaplist
	cbnz	x0, LBB0_5
LBB0_4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_login_getcaplist
LBB0_5:
Lloh7:
	adrp	x8, _login_getstyle.defauthtypes@PAGE
Lloh8:
	add	x8, x8, _login_getstyle.defauthtypes@PAGEOFF
	cmp	x0, #0
	csel	x21, x8, x0, eq
	cbz	x20, LBB0_11
; %bb.6:
	ldrb	w8, [x20]
	cbz	w8, LBB0_11
; %bb.7:
	ldr	x1, [x21]
	cbz	x1, LBB0_11
; %bb.8:
	mov	x22, #0
	add	x23, x21, #8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x22, #1
	ldr	x1, [x23, x22, lsl #3]
	mov	x22, x8
	cbnz	x1, LBB0_9
	b	LBB0_13
LBB0_11:
	mov	x8, #0
	b	LBB0_14
LBB0_12:
	mov	x8, x22
LBB0_13:
	and	x8, x8, #0xffffffff
LBB0_14:
	str	xzr, [x19]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_17
; %bb.15:
	bl	_strdup
	cbz	x0, LBB0_17
; %bb.16:
	bl	_strdup
	str	x0, [x19]
LBB0_17:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @login_getstyle.defauthtypes
_login_getstyle.defauthtypes:
	.quad	128
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth-%s"

l_.str.1:                               ; @.str.1
	.asciz	"auth"

.subsections_via_symbols
