	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tnc_build
_eap_tnc_build:                         ## @eap_tnc_build
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	(%rsi), %edi
	callq	_tncs_total_send_len
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_tncs_if_tnccs_start
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_os_strlen
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_tncs_if_tnccs_end
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_os_strlen
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	addq	%r12, %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_wpabuf_put_data
	movq	%r13, %rdi
	callq	_os_free
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	%rax, %rsi
	callq	_tncs_copy_send_buf
	subq	%rbx, %rax
	shrq	$2, %rax
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_wpabuf_put
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_wpabuf_put_data
	movq	%r14, %rdi
	callq	_os_free
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r12, %rdi
	callq	_wpabuf_head
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_wpabuf_len
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_wpa_hexdump_ascii
	jmp	LBB0_9
LBB0_5:
	movq	%r13, %rdi
	jmp	LBB0_7
LBB0_6:
	movq	%r13, %rdi
	callq	_os_free
	movq	%r14, %rdi
LBB0_7:
	callq	_os_free
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TNC: Request"

	.no_dead_strip	_eap_tnc_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_tnc_build
_eap_tnc_build:                         ; @eap_tnc_build
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	ldr	w0, [x1]
	bl	_tncs_total_send_len
	mov	x19, x0
	ldr	w0, [x21]
	bl	_tncs_if_tnccs_start
	cbz	x0, LBB0_4
; %bb.1:
	mov	x23, x0
	bl	_os_strlen
	mov	x24, x0
	bl	_tncs_if_tnccs_end
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_os_strlen
	mov	x22, x0
	add	x8, x24, x19
	add	x0, x8, x0
	bl	_wpabuf_alloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_wpabuf_put_data
	mov	x0, x23
	bl	_os_free
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put
	mov	x23, x0
	ldr	w0, [x21]
	mov	x1, x23
	bl	_tncs_copy_send_buf
	sub	x8, x0, x23
	lsr	x1, x8, #2
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_wpabuf_put
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_wpabuf_put_data
	mov	x0, x20
	bl	_os_free
Lloh0:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_wpabuf_head
	mov	x21, x0
	mov	x0, x19
	bl	_wpabuf_len
	mov	x3, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_wpa_hexdump_ascii
	b	LBB0_7
LBB0_4:
	mov	x19, #0
	b	LBB0_7
LBB0_5:
	mov	x0, x23
	bl	_os_free
	mov	x19, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x23
	bl	_os_free
	mov	x0, x20
	bl	_os_free
LBB0_7:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TNC: Request"

	.no_dead_strip	_eap_tnc_build
.subsections_via_symbols
