	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gnutls_tls_fail_event
_gnutls_tls_fail_event:                 ## @gnutls_tls_fail_event
	.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	(%rdi), %r12
	cmpq	$0, 8(%r12)
	je	LBB0_5
## %bb.1:
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r13
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%r9d, %r14d
	callq	_os_memset
	movl	%r15d, -88(%rbp)
	testq	%rbx, %rbx
	leaq	L_.str(%rip), %rax
	cmovneq	%rbx, %rax
	movq	%rax, -80(%rbp)
	movl	%r14d, -72(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -64(%rbp)
	testq	%r13, %r13
	je	LBB0_2
## %bb.3:
	movl	(%r13), %esi
	movl	4(%r13), %edi
	callq	_wpabuf_alloc_copy
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movl	(%r12), %edi
	movq	_TLS_CERT_CHAIN_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	callq	*8(%r12)
	movq	%rbx, %rdi
	callq	_wpabuf_free
LBB0_5:
	addq	$56, %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
	.space	1

	.comm	_TLS_CERT_CHAIN_FAILURE,4,2     ## @TLS_CERT_CHAIN_FAILURE
	.no_dead_strip	_gnutls_tls_fail_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gnutls_tls_fail_event
_gnutls_tls_fail_event:                 ; @gnutls_tls_fail_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	ldr	x24, [x0]
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_os_memset
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	w23, [sp, #8]
	cmp	x22, #0
	csel	x8, x8, x22, eq
	str	x8, [sp, #16]
	str	w21, [sp, #24]
	str	x20, [sp, #32]
	cbz	x19, LBB0_3
; %bb.2:
	ldp	w1, w0, [x19]
	bl	_wpabuf_alloc_copy
	mov	x19, x0
	str	x0, [sp, #40]
LBB0_3:
	ldr	x8, [x24, #8]
	ldr	w0, [x24]
Lloh2:
	adrp	x9, _TLS_CERT_CHAIN_FAILURE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TLS_CERT_CHAIN_FAILURE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	add	x2, sp, #8
	blr	x8
	mov	x0, x19
	bl	_wpabuf_free
LBB0_4:
	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
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_TLS_CERT_CHAIN_FAILURE,4,2     ; @TLS_CERT_CHAIN_FAILURE
	.no_dead_strip	_gnutls_tls_fail_event
.subsections_via_symbols
