	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_gnutls_init_session
_tls_gnutls_init_session:               ## @tls_gnutls_init_session
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpq	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_GNUTLS_CLIENT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GNUTLS_SERVER@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_gnutls_init
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	(%r14), %edi
	callq	_gnutls_set_default_priority
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_gnutls_priority_set_direct
	testl	%eax, %eax
	js	LBB0_8
## %bb.12:
	movl	(%r14), %edi
	movq	_tls_pull_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gnutls_transport_set_pull_function
	movl	(%r14), %edi
	movq	_tls_push_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gnutls_transport_set_push_function
	movl	(%r14), %edi
	movl	%r14d, %esi
	callq	_gnutls_transport_set_ptr
	movl	(%r14), %edi
	movq	%r14, %rsi
	callq	_gnutls_session_set_ptr
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gnutls_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_wpa_printf
	jmp	LBB0_10
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %ebx
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-32(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_gnutls_strerror
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%rax, %rdx
	callq	_wpa_printf
	movl	(%r14), %edi
	callq	_gnutls_deinit
LBB0_10:
	movl	$-1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GNUTLS_SERVER,4,2              ## @GNUTLS_SERVER
	.comm	_GNUTLS_CLIENT,4,2              ## @GNUTLS_CLIENT
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLS: Failed to initialize new TLS connection: %s"

L_.str.1:                               ## @.str.1
	.asciz	"NORMAL:-VERS-SSL3.0"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"GnuTLS: Priority string failure at '%s'"

	.comm	_tls_pull_func,4,2              ## @tls_pull_func
	.comm	_tls_push_func,4,2              ## @tls_push_func
L_.str.3:                               ## @.str.3
	.asciz	"TLS: Failed to setup new TLS connection: %s"

	.no_dead_strip	_tls_gnutls_init_session
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_gnutls_init_session
_tls_gnutls_init_session:               ; @tls_gnutls_init_session
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _GNUTLS_SERVER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GNUTLS_SERVER@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	adrp	x10, _GNUTLS_CLIENT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GNUTLS_CLIENT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gnutls_init
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w0, [x19]
	bl	_gnutls_set_default_priority
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_gnutls_priority_set_direct
	tbnz	w0, #31, LBB0_6
; %bb.3:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _tls_pull_func@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tls_pull_func@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_gnutls_transport_set_pull_function
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _tls_push_func@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tls_push_func@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_gnutls_transport_set_push_function
	ldr	w0, [x19]
	mov	x1, x19
	bl	_gnutls_transport_set_ptr
	ldr	w0, [x19]
	mov	x1, x19
	bl	_gnutls_session_set_ptr
	mov	w0, #0
	b	LBB0_9
LBB0_4:
Lloh12:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	bl	_gnutls_strerror
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_printf
	b	LBB0_8
LBB0_5:
	mov	x20, x0
	b	LBB0_7
LBB0_6:
	mov	x20, x0
Lloh17:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x2, [sp, #8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
LBB0_7:
Lloh22:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_gnutls_strerror
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
	ldr	w0, [x19]
	bl	_gnutls_deinit
LBB0_8:
	mov	w0, #-1
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GNUTLS_SERVER,4,2              ; @GNUTLS_SERVER
	.comm	_GNUTLS_CLIENT,4,2              ; @GNUTLS_CLIENT
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLS: Failed to initialize new TLS connection: %s"

l_.str.1:                               ; @.str.1
	.asciz	"NORMAL:-VERS-SSL3.0"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"GnuTLS: Priority string failure at '%s'"

	.comm	_tls_pull_func,4,2              ; @tls_pull_func
	.comm	_tls_push_func,4,2              ; @tls_push_func
l_.str.3:                               ; @.str.3
	.asciz	"TLS: Failed to setup new TLS connection: %s"

	.no_dead_strip	_tls_gnutls_init_session
.subsections_via_symbols
