	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_log_func
_tls_log_func:                          ## @tls_log_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %eax
	andl	$-2, %eax
	cmpl	$6, %eax
	je	LBB0_10
## %bb.1:
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_os_strdup
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, %cl
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	jmp	LBB0_3
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movb	$0, (%rax)
LBB0_6:
	cmpl	$4, %ebx
	jl	LBB0_7
## %bb.8:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_wpa_printf
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_os_free                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gnutls<%d> %s"

	.no_dead_strip	_tls_log_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_log_func
_tls_log_func:                          ; @tls_log_func
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	and	w8, w0, #0xfffffffe
	cmp	w8, #6
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x1
	bl	_os_strdup
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	mov	x8, x0
	ldrb	w9, [x8]
	cbz	w9, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #10
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	ldrb	w9, [x8]
	cbnz	w9, LBB0_3
	b	LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	strb	wzr, [x8]
LBB0_7:
Lloh0:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
	cmp	w19, #3
	csel	x8, x8, x9, gt
	ldr	w0, [x8]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_wpa_printf
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_os_free
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gnutls<%d> %s"

	.no_dead_strip	_tls_log_func
.subsections_via_symbols
