	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_sm_buildInitiateReauthStart
_eap_sm_buildInitiateReauthStart:       ## @eap_sm_buildInitiateReauthStart
	.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
	movl	%esi, %r15d
	callq	_eap_get_erp_domain
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_os_strlen
	movq	%rax, %r14
	movq	%rax, %rdx
	addq	$3, %rdx
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edx
	xorl	%r14d, %r14d
LBB0_3:
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_ERP_TYPE_REAUTH_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EAP_CODE_INITIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %r8d
	callq	_eap_msg_alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movq	_EAP_ERP_TLV_DOMAIN_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wpabuf_put_u8
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_wpabuf_put_data
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_ERP_TYPE_REAUTH_START,8,3  ## @EAP_ERP_TYPE_REAUTH_START
	.comm	_EAP_CODE_INITIATE,4,2          ## @EAP_CODE_INITIATE
	.comm	_EAP_ERP_TLV_DOMAIN_NAME,8,3    ## @EAP_ERP_TLV_DOMAIN_NAME
	.no_dead_strip	_eap_sm_buildInitiateReauthStart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_sm_buildInitiateReauthStart
_eap_sm_buildInitiateReauthStart:       ; @eap_sm_buildInitiateReauthStart
	.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	x21, x1
	bl	_eap_get_erp_domain
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_os_strlen
	mov	x20, x0
	add	x2, x0, #3
	b	LBB0_3
LBB0_2:
	mov	x20, #0
	mov	w2, #1
LBB0_3:
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_ERP_TYPE_REAUTH_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_ERP_TYPE_REAUTH_START@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _EAP_CODE_INITIATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAP_CODE_INITIATE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x4, x21
	bl	_eap_msg_alloc
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x21
	mov	x1, #0
	bl	_wpabuf_put_u8
	cbz	x19, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _EAP_ERP_TLV_DOMAIN_NAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAP_ERP_TLV_DOMAIN_NAME@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_u8
	mov	x0, x21
	mov	x1, x20
	bl	_wpabuf_put_u8
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_wpabuf_put_data
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_ERP_TYPE_REAUTH_START,8,3  ; @EAP_ERP_TYPE_REAUTH_START
	.comm	_EAP_CODE_INITIATE,4,2          ; @EAP_CODE_INITIATE
	.comm	_EAP_ERP_TLV_DOMAIN_NAME,8,3    ; @EAP_ERP_TLV_DOMAIN_NAME
	.no_dead_strip	_eap_sm_buildInitiateReauthStart
.subsections_via_symbols
