	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_global_set_params          ## -- Begin function tls_global_set_params
	.p2align	4, 0x90
_tls_global_set_params:                 ## @tls_global_set_params
	.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
	movl	$-1, %r15d
	cmpq	$0, 32(%rsi)
	jne	LBB0_21
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	$1, (%rdi)
	cmpl	$0, 4(%rdi)
	je	LBB0_3
## %bb.2:
	movl	8(%r12), %edi
	callq	_gnutls_certificate_free_credentials
	movl	$0, 4(%r12)
LBB0_3:
	leaq	8(%r12), %r14
	movq	%r14, %rdi
	callq	_gnutls_certificate_allocate_credentials
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gnutls_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_21
LBB0_5:
	movl	28(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.6:
	movl	(%r14), %edi
	movq	_GNUTLS_X509_FMT_DER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_gnutls_certificate_set_x509_trust_file
	testl	%eax, %eax
	jns	LBB0_9
## %bb.7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	28(%rbx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_gnutls_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r14), %edi
	movl	28(%rbx), %esi
	movq	_GNUTLS_X509_FMT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_gnutls_certificate_set_x509_trust_file
	testl	%eax, %eax
	js	LBB0_8
LBB0_9:
	movl	(%rbx), %eax
	movq	_TLS_CONN_ALLOW_SIGN_RSA_MD5@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movl	(%r14), %edi
	movq	_GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gnutls_certificate_set_verify_flags
	movl	(%rbx), %eax
LBB0_11:
	movq	_TLS_CONN_DISABLE_TIME_CHECKS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movl	(%r14), %edi
	movq	_GNUTLS_VERIFY_DISABLE_TIME_CHECKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gnutls_certificate_set_verify_flags
LBB0_13:
	movl	20(%rbx), %edx
	movl	24(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_18
## %bb.14:
	testl	%edx, %edx
	je	LBB0_22
## %bb.15:
	movl	(%r14), %edi
	movq	_GNUTLS_X509_FMT_DER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_gnutls_certificate_set_x509_key_file
	testl	%eax, %eax
	jns	LBB0_22
## %bb.16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	%eax, %edi
	callq	_gnutls_strerror
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r14), %edi
	movl	20(%rbx), %edx
	movl	24(%rbx), %esi
	movq	_GNUTLS_X509_FMT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_gnutls_certificate_set_x509_key_file
	testl	%eax, %eax
	jns	LBB0_22
## %bb.17:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gnutls_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_20
LBB0_18:
	testl	%edx, %edx
	je	LBB0_22
## %bb.19:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_20
LBB0_22:
	movl	$1, 4(%r12)
	xorl	%r15d, %r15d
	jmp	LBB0_21
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	28(%rbx), %ebx
	movl	%eax, %edi
	callq	_gnutls_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_20:
	movl	(%r14), %edi
	callq	_gnutls_certificate_free_credentials
LBB0_21:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate global credentials %s"

	.comm	_GNUTLS_X509_FMT_DER,4,2        ## @GNUTLS_X509_FMT_DER
L_.str.1:                               ## @.str.1
	.asciz	"Failed to read CA cert '%s' in DER format: %s"

	.comm	_GNUTLS_X509_FMT_PEM,4,2        ## @GNUTLS_X509_FMT_PEM
L_.str.2:                               ## @.str.2
	.asciz	"Failed to read CA cert '%s' in PEM format: %s"

	.comm	_TLS_CONN_ALLOW_SIGN_RSA_MD5,4,2 ## @TLS_CONN_ALLOW_SIGN_RSA_MD5
	.comm	_GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5,4,2 ## @GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
	.comm	_TLS_CONN_DISABLE_TIME_CHECKS,4,2 ## @TLS_CONN_DISABLE_TIME_CHECKS
	.comm	_GNUTLS_VERIFY_DISABLE_TIME_CHECKS,4,2 ## @GNUTLS_VERIFY_DISABLE_TIME_CHECKS
L_.str.3:                               ## @.str.3
	.asciz	"Failed to read client cert/key in DER format: %s"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to read client cert/key in PEM format: %s"

L_.str.5:                               ## @.str.5
	.asciz	"GnuTLS: PKCS#12 support not included"

	.comm	_server_ocsp_status_req,4,2     ## @server_ocsp_status_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_global_set_params          ; -- Begin function tls_global_set_params
	.p2align	2
_tls_global_set_params:                 ; @tls_global_set_params
	.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
	ldr	x8, [x1, #32]
	cbnz	x8, LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	mov	w8, #1
	str	w8, [x0]
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_gnutls_certificate_free_credentials
	str	wzr, [x20, #4]
LBB0_3:
	add	x19, x20, #8
	mov	x0, x19
	bl	_gnutls_certificate_allocate_credentials
	cbz	w0, LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_gnutls_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_printf
LBB0_5:
	mov	w0, #-1
LBB0_6:
	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_7:
	ldr	w1, [x21, #28]
	cbz	w1, LBB0_14
; %bb.8:
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _GNUTLS_X509_FMT_DER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GNUTLS_X509_FMT_DER@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_gnutls_certificate_set_x509_trust_file
	tbz	w0, #31, LBB0_10
; %bb.9:
Lloh8:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w22, [x23]
	ldr	w24, [x21, #28]
	bl	_gnutls_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
	ldr	w0, [x19]
	ldr	w1, [x21, #28]
Lloh12:
	adrp	x8, _GNUTLS_X509_FMT_PEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GNUTLS_X509_FMT_PEM@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_gnutls_certificate_set_x509_trust_file
	tbnz	w0, #31, LBB0_22
LBB0_10:
	ldr	w8, [x21]
Lloh15:
	adrp	x9, _TLS_CONN_ALLOW_SIGN_RSA_MD5@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TLS_CONN_ALLOW_SIGN_RSA_MD5@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w0, [x19]
Lloh18:
	adrp	x8, _GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_gnutls_certificate_set_verify_flags
	ldr	w8, [x21]
LBB0_12:
Lloh21:
	adrp	x9, _TLS_CONN_DISABLE_TIME_CHECKS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TLS_CONN_DISABLE_TIME_CHECKS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w0, [x19]
Lloh24:
	adrp	x8, _GNUTLS_VERIFY_DISABLE_TIME_CHECKS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GNUTLS_VERIFY_DISABLE_TIME_CHECKS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_gnutls_certificate_set_verify_flags
LBB0_14:
	ldp	w2, w1, [x21, #20]
	cbz	w1, LBB0_19
; %bb.15:
	cbz	w2, LBB0_21
; %bb.16:
	ldr	w0, [x19]
Lloh27:
	adrp	x8, _GNUTLS_X509_FMT_DER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GNUTLS_X509_FMT_DER@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	bl	_gnutls_certificate_set_x509_key_file
	tbz	w0, #31, LBB0_21
; %bb.17:
Lloh30:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh31:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w22, [x23]
	bl	_gnutls_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
	ldr	w0, [x19]
	ldp	w2, w1, [x21, #20]
Lloh34:
	adrp	x8, _GNUTLS_X509_FMT_PEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GNUTLS_X509_FMT_PEM@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	bl	_gnutls_certificate_set_x509_key_file
	tbz	w0, #31, LBB0_21
; %bb.18:
	ldr	w20, [x23]
	bl	_gnutls_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_23
LBB0_19:
	cbz	w2, LBB0_21
; %bb.20:
Lloh39:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str.5@PAGE
Lloh43:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_24
LBB0_21:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x20, #4]
	b	LBB0_6
LBB0_22:
	ldr	w20, [x23]
	ldr	w21, [x21, #28]
	bl	_gnutls_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_23:
	mov	x0, x20
LBB0_24:
	bl	_wpa_printf
	ldr	w0, [x19]
	bl	_gnutls_certificate_free_credentials
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate global credentials %s"

	.comm	_GNUTLS_X509_FMT_DER,4,2        ; @GNUTLS_X509_FMT_DER
l_.str.1:                               ; @.str.1
	.asciz	"Failed to read CA cert '%s' in DER format: %s"

	.comm	_GNUTLS_X509_FMT_PEM,4,2        ; @GNUTLS_X509_FMT_PEM
l_.str.2:                               ; @.str.2
	.asciz	"Failed to read CA cert '%s' in PEM format: %s"

	.comm	_TLS_CONN_ALLOW_SIGN_RSA_MD5,4,2 ; @TLS_CONN_ALLOW_SIGN_RSA_MD5
	.comm	_GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5,4,2 ; @GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
	.comm	_TLS_CONN_DISABLE_TIME_CHECKS,4,2 ; @TLS_CONN_DISABLE_TIME_CHECKS
	.comm	_GNUTLS_VERIFY_DISABLE_TIME_CHECKS,4,2 ; @GNUTLS_VERIFY_DISABLE_TIME_CHECKS
l_.str.3:                               ; @.str.3
	.asciz	"Failed to read client cert/key in DER format: %s"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to read client cert/key in PEM format: %s"

l_.str.5:                               ; @.str.5
	.asciz	"GnuTLS: PKCS#12 support not included"

	.comm	_server_ocsp_status_req,4,2     ; @server_ocsp_status_req
.subsections_via_symbols
