	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_need_client_cert
_ssl_need_client_cert:                  ## @ssl_need_client_cert
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_SSL_get_app_data
	movq	%rax, %r15
	movq	48(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.33:
	movq	%rax, (%rbx)
	movq	40(%r15), %rax
	movq	%rax, (%r14)
	movl	$1, %r14d
	jmp	LBB0_32
LBB0_1:
	movq	80(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_31
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_APR_READ@GOTPCREL(%rip), %r13
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_ERR_GET_LIB
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_ERR_GET_FUNC
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_ERR_GET_REASON
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_printf
	movq	%r13, %rdi
	callq	_PKCS12_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bio_meth_free
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	_APR_READ@GOTPCREL(%rip), %r13
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rbx
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	80(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_31
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r12
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, -80(%rbp)
	movq	$0, (%r15)
	testl	%eax, %eax
	je	LBB0_7
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	76(%r15), %edi
	leaq	-80(%rbp), %rsi
	callq	*%rcx
	testl	%eax, %eax
	jne	LBB0_31
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_31
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edx
	movl	(%rbx), %ecx
	movl	72(%r15), %r8d
	leaq	-88(%rbp), %rdi
	callq	_apr_file_open
	testl	%eax, %eax
	jne	LBB0_30
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_bio_meth_file_new
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_BIO_new
	movq	%rax, %rbx
	movq	-88(%rbp), %rsi
	movq	%rax, %rdi
	callq	_bio_set_data
	movq	-80(%rbp), %rax
	movq	%rax, 8(%r15)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_d2i_PKCS12_bio
	movq	%rax, %r13
	movq	-88(%rbp), %rdi
	callq	_apr_file_close
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_PKCS12_parse
	cmpl	$1, %eax
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_ERR_clear_error
	movl	%r14d, %edi
	callq	_ERR_GET_LIB
	cltq
	movq	_ERR_LIB_PKCS12@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_29
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_ERR_GET_REASON
	cltq
	movq	_PKCS12_R_MAC_VERIFY_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_29
## %bb.15:
	movq	64(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.16:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, -72(%rbp)
	movq	$0, 16(%r15)
	jmp	LBB0_19
LBB0_10:
	movq	%r13, %rdi
	callq	_PKCS12_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bio_meth_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, 48(%r15)
	movq	(%r14), %rax
	movq	%rax, 40(%r15)
	movl	$1, %r14d
	testq	%r12, %r12
	jne	LBB0_32
## %bb.11:
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.12:
	movq	8(%r15), %rsi
	callq	_apr_pstrdup
	movq	_apr_pool_cleanup_null@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	32(%r15), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_apr_pool_userdata_setn
	jmp	LBB0_32
LBB0_18:
	movl	56(%r15), %edi
	movq	8(%r15), %rsi
	leaq	-72(%rbp), %rdx
	callq	*%rcx
	movq	-72(%rbp), %rsi
LBB0_19:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_28
## %bb.20:
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.21:
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_PKCS12_parse
	cmpl	$1, %eax
	jne	LBB0_28
## %bb.22:
	movq	%r13, %rdi
	callq	_PKCS12_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bio_meth_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, 48(%r15)
	movq	(%rbx), %rax
	movq	%rax, 40(%r15)
	testq	%r12, %r12
	jne	LBB0_27
## %bb.23:
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	movq	8(%r15), %rsi
	callq	_apr_pstrdup
	movq	_apr_pool_cleanup_null@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	32(%r15), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_apr_pool_userdata_setn
LBB0_25:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	movq	-72(%rbp), %rsi
	callq	_apr_pstrdup
	movq	_apr_pool_cleanup_null@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	24(%r15), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_apr_pool_userdata_setn
LBB0_27:
	movl	$1, %r14d
	jmp	LBB0_32
LBB0_28:
	movq	%r13, %rdi
	callq	_PKCS12_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bio_meth_free
LBB0_31:
	xorl	%r14d, %r14d
LBB0_32:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_APR_READ,4,2                   ## @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"serf:ssl:cert"

	.comm	_apr_pool_cleanup_null,4,2      ## @apr_pool_cleanup_null
	.comm	_ERR_LIB_PKCS12,8,3             ## @ERR_LIB_PKCS12
	.comm	_PKCS12_R_MAC_VERIFY_FAILURE,8,3 ## @PKCS12_R_MAC_VERIFY_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"serf:ssl:certpw"

L_.str.2:                               ## @.str.2
	.asciz	"OpenSSL cert error: %d %d %d\n"

	.no_dead_strip	_ssl_need_client_cert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_need_client_cert
_ssl_need_client_cert:                  ; @ssl_need_client_cert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x21, x1
	bl	_SSL_get_app_data
	mov	x19, x0
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_2
; %bb.1:
	str	x8, [x21]
	ldr	x8, [x19, #40]
	str	x8, [x20]
	mov	w0, #1
	b	LBB0_32
LBB0_2:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_31
; %bb.3:
Lloh0:
	adrp	x23, _APR_READ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _APR_READ@GOTPAGEOFF]
Lloh2:
	adrp	x28, _APR_OS_DEFAULT@GOTPAGE
Lloh3:
	ldr	x28, [x28, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh4:
	adrp	x27, _APR_SUCCESS@GOTPAGE
Lloh5:
	ldr	x27, [x27, _APR_SUCCESS@GOTPAGEOFF]
	str	x19, [sp]                       ; 8-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_ERR_GET_LIB
	mov	x26, x0
	mov	x0, x25
	bl	_ERR_GET_FUNC
	mov	x19, x22
	mov	x22, x21
	mov	x21, x20
	mov	x20, x28
	mov	x28, x23
	mov	x23, x27
	mov	x27, x0
	mov	x0, x25
	bl	_ERR_GET_REASON
	mov	x3, x0
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x26
	mov	x2, x27
	mov	x27, x23
	mov	x23, x28
	mov	x28, x20
	mov	x20, x21
	mov	x21, x22
	bl	_printf
	mov	x0, x24
	bl	_PKCS12_free
	mov	x0, x19
	ldr	x19, [sp]                       ; 8-byte Folded Reload
	bl	_bio_meth_free
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_31
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x19]
	cbz	x26, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x27]
	str	x26, [sp, #24]
	str	xzr, [x19]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #76]
	add	x1, sp, #24
	blr	x8
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [sp, #24]
	cmp	w0, #0
	ccmp	x1, #0, #4, eq
	b.eq	LBB0_31
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x23]
	ldr	w3, [x28]
	ldr	w4, [x19, #72]
	add	x0, sp, #16
	bl	_apr_file_open
	cbnz	w0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_bio_meth_file_new
	mov	x22, x0
	bl	_BIO_new
	mov	x24, x0
	ldr	x1, [sp, #16]
	bl	_bio_set_data
	ldr	x8, [sp, #24]
	str	x8, [x19, #8]
	mov	x0, x24
	mov	x1, #0
	bl	_d2i_PKCS12_bio
	mov	x24, x0
	ldr	x0, [sp, #16]
	bl	_apr_file_close
	mov	x0, x24
	mov	x1, #0
	mov	x2, x20
	mov	x3, x21
	mov	x4, #0
	bl	_PKCS12_parse
	cmp	w0, #1
	b.eq	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_ERR_get_error
	mov	x25, x0
	bl	_ERR_clear_error
	mov	x0, x25
	bl	_ERR_GET_LIB
Lloh8:
	adrp	x8, _ERR_LIB_PKCS12@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_LIB_PKCS12@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, w0, sxtw
	b.ne	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_ERR_GET_REASON
Lloh11:
	adrp	x8, _PKCS12_R_MAC_VERIFY_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PKCS12_R_MAC_VERIFY_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, w0, sxtw
	b.ne	LBB0_4
; %bb.14:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_30
; %bb.15:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_21
; %bb.16:
	ldr	w0, [x27]
	str	x1, [sp, #8]
	str	xzr, [x19, #16]
	b	LBB0_22
LBB0_17:
	mov	x0, x24
	bl	_PKCS12_free
	mov	x0, x22
	bl	_bio_meth_free
	ldr	x8, [x21]
	str	x8, [x19, #48]
	ldr	x8, [x20]
	str	x8, [x19, #40]
	cbnz	x26, LBB0_20
; %bb.18:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_20
; %bb.19:
	ldr	x1, [x19, #8]
	bl	_apr_pstrdup
Lloh14:
	adrp	x8, _apr_pool_cleanup_null@GOTPAGE
Lloh15:
	ldr	x8, [x8, _apr_pool_cleanup_null@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldr	x3, [x19, #32]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_apr_pool_userdata_setn
LBB0_20:
	mov	w0, #1
	b	LBB0_32
LBB0_21:
	ldr	w0, [x19, #56]
	ldr	x1, [x19, #8]
	add	x2, sp, #8
	blr	x8
	ldr	x1, [sp, #8]
LBB0_22:
	cbnz	w0, LBB0_30
; %bb.23:
	cbz	x1, LBB0_30
; %bb.24:
	mov	x0, x24
	mov	x2, x20
	mov	x3, x21
	mov	x4, #0
	bl	_PKCS12_parse
	cmp	w0, #1
	b.ne	LBB0_30
; %bb.25:
	mov	x0, x24
	bl	_PKCS12_free
	mov	x0, x22
	bl	_bio_meth_free
	ldr	x8, [x21]
	str	x8, [x19, #48]
	ldr	x8, [x20]
	str	x8, [x19, #40]
	cbnz	x26, LBB0_20
; %bb.26:
	ldr	x0, [x19, #32]
Lloh19:
	adrp	x20, _apr_pool_cleanup_null@GOTPAGE
Lloh20:
	ldr	x20, [x20, _apr_pool_cleanup_null@GOTPAGEOFF]
	cbz	x0, LBB0_28
; %bb.27:
	ldr	x1, [x19, #8]
	bl	_apr_pstrdup
	ldr	w2, [x20]
	ldr	x3, [x19, #32]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_apr_pool_userdata_setn
LBB0_28:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_20
; %bb.29:
	ldr	x1, [sp, #8]
	bl	_apr_pstrdup
	ldr	w2, [x20]
	ldr	x3, [x19, #24]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_apr_pool_userdata_setn
	b	LBB0_20
LBB0_30:
	mov	x0, x24
	bl	_PKCS12_free
	mov	x0, x22
	bl	_bio_meth_free
LBB0_31:
	mov	w0, #0
LBB0_32:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_APR_READ,4,2                   ; @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"serf:ssl:cert"

	.comm	_apr_pool_cleanup_null,4,2      ; @apr_pool_cleanup_null
	.comm	_ERR_LIB_PKCS12,8,3             ; @ERR_LIB_PKCS12
	.comm	_PKCS12_R_MAC_VERIFY_FAILURE,8,3 ; @PKCS12_R_MAC_VERIFY_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"serf:ssl:certpw"

l_.str.2:                               ; @.str.2
	.asciz	"OpenSSL cert error: %d %d %d\n"

	.no_dead_strip	_ssl_need_client_cert
.subsections_via_symbols
