	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_peer_tls_data_reassemble
_eap_peer_tls_data_reassemble:          ## @eap_peer_tls_data_reassemble
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	$0, (%rdx)
	movq	(%rdi), %rbx
	movq	%rsi, %rdi
	callq	_wpabuf_len
	cmpq	%rax, %rbx
	jg	LBB0_2
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_7
LBB0_2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_eap_peer_tls_reassemble_fragment
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	8(%r15), %rax
	jmp	LBB0_9
LBB0_5:
	movl	$1, (%r14)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	$0, (%r15)
	movq	%r12, %rdi
	callq	_wpabuf_dup
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_eap_peer_tls_data_reassemble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_peer_tls_data_reassemble
_eap_peer_tls_data_reassemble:          ; @eap_peer_tls_data_reassemble
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	wzr, [x2]
	ldr	x22, [x0]
	mov	x0, x1
	bl	_wpabuf_len
	cmp	x22, x0
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_eap_peer_tls_reassemble_fragment
	cmp	w0, #1
	b.eq	LBB0_5
; %bb.3:
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	x0, [x19, #8]
	b	LBB0_8
LBB0_5:
	mov	x0, #0
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_8
LBB0_6:
	mov	x0, #0
	b	LBB0_8
LBB0_7:
	str	xzr, [x19]
	mov	x0, x21
	bl	_wpabuf_dup
	str	x0, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_eap_peer_tls_data_reassemble
.subsections_via_symbols
