	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpam_dump_chain             ## -- Begin function openpam_dump_chain
	.p2align	4, 0x90
_openpam_dump_chain:                    ## @openpam_dump_chain
	.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	_PAM_SUCCESS@GOTPCREL(%rip), %rax
	testq	%rsi, %rsi
	je	LBB0_25
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	L_str.19(%rip), %r12
	leaq	L_.str.4(%rip), %r15
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_str.17(%rip), %rdi
	callq	_puts
	incl	%ebx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_str.18(%rip), %rdi
	callq	_puts
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	16(%r14), %r14
	testq	%r14, %r14
	je	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	movq	24(%r14), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	cmovneq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdx), %ecx
	testb	%cl, %cl
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpb	$46, %cl
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%rdx)
	leaq	L_.str(%rip), %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	(%r14), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_9
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.18(%rip), %rdi
	callq	_puts
	cmpq	$0, 16(%r14)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %edx
	leaq	L_.str.8(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.10(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movl	8(%r14), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	12(%r14), %esi
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.13(%rip), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
	cmpq	$0, 16(%r14)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	leaq	L_.str.14(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%r12, %rdi
	callq	_puts
	cmpq	$0, 8(%rbx)
	leaq	8(%rbx), %rbx
	je	LBB0_18
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%rbx), %r13
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	incq	%r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=3
	movl	%ecx, %eax
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=3
	movzbl	%al, %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=3
	movzbl	(%r13), %eax
	incq	%r13
	testb	%al, %al
	je	LBB0_17
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	%al, %edi
	callq	_isprint
	movzbl	-1(%r13), %ecx
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=3
	movb	$34, %al
	cmpb	$34, %cl
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=3
	movsbl	%cl, %edi
	callq	_putchar
	jmp	LBB0_16
LBB0_24:
	movq	_PAM_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_3:
	movq	_PAM_BUF_ERR@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAM_BUF_ERR,4,2                ## @PAM_BUF_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"extern struct pam_module %s_pam_module;\n"

L_.str.1:                               ## @.str.1
	.asciz	"static char *%s_%d_optv[] = {\n"

L_.str.2:                               ## @.str.2
	.asciz	"\t\""

L_.str.4:                               ## @.str.4
	.asciz	"\\x%02x"

L_.str.8:                               ## @.str.8
	.asciz	"static pam_chain_t %s_%d;\n"

L_.str.9:                               ## @.str.9
	.asciz	"static pam_chain_t %s_%d = {\n"

L_.str.10:                              ## @.str.10
	.asciz	"\t.module = &%s_pam_module,\n"

L_.str.11:                              ## @.str.11
	.asciz	"\t.flag = 0x%08x,\n"

L_.str.12:                              ## @.str.12
	.asciz	"\t.optc = %d,\n"

L_.str.13:                              ## @.str.13
	.asciz	"\t.optv = %s_%d_optv,\n"

L_.str.14:                              ## @.str.14
	.asciz	"\t.next = &%s_%d,\n"

	.comm	_PAM_SUCCESS,4,2                ## @PAM_SUCCESS
L_str:                                  ## @str
	.asciz	"\tNULL,"

L_str.17:                               ## @str.17
	.asciz	"\t.next = NULL,"

L_str.18:                               ## @str.18
	.asciz	"};"

L_str.19:                               ## @str.19
	.asciz	"\","

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpam_dump_chain             ; -- Begin function openpam_dump_chain
	.p2align	2
_openpam_dump_chain:                    ; @openpam_dump_chain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_20
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w27, #0
Lloh0:
	adrp	x24, l_str.18@PAGE
Lloh1:
	add	x24, x24, l_str.18@PAGEOFF
Lloh2:
	adrp	x22, l_.str.2@PAGE
Lloh3:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh4:
	adrp	x23, l_str.19@PAGE
Lloh5:
	add	x23, x23, l_str.19@PAGEOFF
Lloh6:
	adrp	x25, l_.str.4@PAGE
Lloh7:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x0, l_str.17@PAGE
Lloh9:
	add	x0, x0, l_str.17@PAGEOFF
	bl	_puts
	add	w27, w27, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_puts
	mov	x0, x26
	bl	_free
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
	ldr	x8, [x19, #24]
	ldr	x26, [x8]
	mov	x0, x26
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csel	x0, x26, x0, eq
	bl	_strdup
	cbz	x0, LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	mov	x8, x0
	ldrb	w9, [x8]
	cbz	w9, LBB0_8
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, #46
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x8, #1
	ldrb	w9, [x8]
	cbnz	w9, LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x8]
	str	x26, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	stp	x20, x27, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	x28, [x19]
	ldr	x8, [x28]
	cbnz	x8, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x0, l_str@PAGE
Lloh15:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x24
	bl	_puts
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w27, #1
	stp	x20, x8, [sp]
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x27
	stp	x20, x21, [sp]
Lloh18:
	adrp	x0, l_.str.9@PAGE
Lloh19:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	str	x26, [sp]
Lloh20:
	adrp	x0, l_.str.10@PAGE
Lloh21:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.11@PAGE
Lloh23:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str.12@PAGE
Lloh25:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printf
	stp	x20, x21, [sp]
Lloh26:
	adrp	x0, l_.str.13@PAGE
Lloh27:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w27, #1
	stp	x20, x27, [sp]
Lloh28:
	adrp	x0, l_.str.14@PAGE
Lloh29:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_printf
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	mov	x0, x23
	bl	_puts
	ldr	x8, [x28, #8]!
	cbz	x8, LBB0_9
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	mov	x0, x22
	bl	_printf
	ldr	x9, [x28]
	ldrb	w8, [x9]
	cbz	w8, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x21, x9, #1
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=3
	mov	w8, w9
	str	x8, [sp]
	mov	x0, x25
	bl	_printf
	ldrb	w8, [x21], #1
	cbz	w8, LBB0_13
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	and	w0, w8, #0xff
	bl	_isprint
	mov	x8, x0
	ldursb	w0, [x21, #-1]
	and	w9, w0, #0xff
	cbz	x8, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=3
	cmp	w9, #34
	b.eq	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=3
	bl	_putchar
	ldrb	w8, [x21], #1
	cbnz	w8, LBB0_17
	b	LBB0_13
LBB0_20:
Lloh30:
	adrp	x8, _PAM_SUCCESS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PAM_SUCCESS@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh32:
	adrp	x8, _PAM_BUF_ERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PAM_BUF_ERR@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_PAM_BUF_ERR,4,2                ; @PAM_BUF_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"extern struct pam_module %s_pam_module;\n"

l_.str.1:                               ; @.str.1
	.asciz	"static char *%s_%d_optv[] = {\n"

l_.str.2:                               ; @.str.2
	.asciz	"\t\""

l_.str.4:                               ; @.str.4
	.asciz	"\\x%02x"

l_.str.8:                               ; @.str.8
	.asciz	"static pam_chain_t %s_%d;\n"

l_.str.9:                               ; @.str.9
	.asciz	"static pam_chain_t %s_%d = {\n"

l_.str.10:                              ; @.str.10
	.asciz	"\t.module = &%s_pam_module,\n"

l_.str.11:                              ; @.str.11
	.asciz	"\t.flag = 0x%08x,\n"

l_.str.12:                              ; @.str.12
	.asciz	"\t.optc = %d,\n"

l_.str.13:                              ; @.str.13
	.asciz	"\t.optv = %s_%d_optv,\n"

l_.str.14:                              ; @.str.14
	.asciz	"\t.next = &%s_%d,\n"

	.comm	_PAM_SUCCESS,4,2                ; @PAM_SUCCESS
l_str:                                  ; @str
	.asciz	"\tNULL,"

l_str.17:                               ; @str.17
	.asciz	"\t.next = NULL,"

l_str.18:                               ; @str.18
	.asciz	"};"

l_str.19:                               ; @str.19
	.asciz	"\","

.subsections_via_symbols
