	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_module
_try_module:                            ## @try_module
	.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
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_try_dlopen
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_dlsym
	movq	%rax, %r12
	movq	_PAM_NUM_PRIMITIVES@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.4:
	xorl	%ebx, %ebx
	movq	_pam_sm_func_name@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rdi
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_dlfunc
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	(%r14), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_18
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r12), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	16(%r15), %rdx
	movq	%rcx, (%rdx,%rbx,8)
	jmp	LBB0_8
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_14
LBB0_10:
	movq	8(%r15), %rdi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.11:
	callq	_dlclose
	jmp	LBB0_13
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_FREE
LBB0_13:
	movq	%r15, %rdi
	callq	_FREE
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	%r12d, (%rbx)
	testl	%r12d, %r12d
	je	LBB0_17
## %bb.15:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_17
## %bb.16:
	movq	_PAM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_openpam_log
LBB0_17:
	movl	%r12d, (%rbx)
	xorl	%r15d, %r15d
LBB0_18:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_pam_module"

	.comm	_PAM_NUM_PRIMITIVES,4,2         ## @PAM_NUM_PRIMITIVES
	.comm	_pam_sm_func_name,8,3           ## @pam_sm_func_name
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_PAM_LOG_ERROR,4,2              ## @PAM_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"%s: %m"

	.comm	_PAM_LOG_LIBDEBUG,4,2           ## @PAM_LOG_LIBDEBUG
	.no_dead_strip	_try_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_module
_try_module:                            ; @try_module
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_strdup
	str	x0, [x19]
	cbz	x0, LBB0_10
; %bb.2:
	mov	x21, x0
	mov	x0, x20
	bl	_try_dlopen
	str	x0, [x19, #8]
	cbz	x0, LBB0_12
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dlsym
Lloh2:
	adrp	x21, _PAM_NUM_PRIMITIVES@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PAM_NUM_PRIMITIVES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.4:
	mov	x20, x0
	mov	x22, #0
Lloh4:
	adrp	x23, _pam_sm_func_name@GOTPAGE
Lloh5:
	ldr	x23, [x23, _pam_sm_func_name@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x19, #8]
	ldr	x8, [x23]
	ldr	w1, [x8, x22, lsl #2]
	bl	_dlfunc
	ldr	x8, [x19, #16]
	str	x0, [x8, x22, lsl #3]
	ldr	w8, [x21]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x20, #16]
	lsl	x10, x22, #3
	ldr	x9, [x9, x10]
	ldr	x11, [x19, #16]
	str	x9, [x11, x10]
	b	LBB0_6
LBB0_9:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	b	LBB0_14
LBB0_10:
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	cbz	x0, LBB0_13
; %bb.11:
	bl	_dlclose
	b	LBB0_13
LBB0_12:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_FREE
LBB0_13:
	mov	x0, x19
	bl	_FREE
LBB0_14:
Lloh15:
	adrp	x21, _errno@GOTPAGE
Lloh16:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	w22, [x21]
Lloh17:
	adrp	x8, _ENOENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w22, #0
	ccmp	w22, w8, #4, ne
	b.eq	LBB0_16
; %bb.15:
Lloh20:
	adrp	x8, _PAM_LOG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_openpam_log
LBB0_16:
	mov	x19, #0
	str	w22, [x21]
LBB0_17:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_pam_module"

	.comm	_PAM_NUM_PRIMITIVES,4,2         ; @PAM_NUM_PRIMITIVES
	.comm	_pam_sm_func_name,8,3           ; @pam_sm_func_name
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_PAM_LOG_ERROR,4,2              ; @PAM_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"%s: %m"

	.comm	_PAM_LOG_LIBDEBUG,4,2           ; @PAM_LOG_LIBDEBUG
	.no_dead_strip	_try_module
.subsections_via_symbols
