	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_configex                    ## -- Begin function if_configex
	.p2align	4, 0x90
_if_configex:                           ## @if_configex
	.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
	movl	%ecx, %r13d
	movq	_g_netinitiated@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	jne	LBB0_27
## %bb.1:
	movl	%r8d, %r15d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$1, (%rcx)
	xorl	%eax, %eax
	callq	_sys_init
	xorl	%eax, %eax
	callq	_mem_init
	xorl	%eax, %eax
	callq	_memp_init
	xorl	%eax, %eax
	callq	_pbuf_init
	xorl	%eax, %eax
	callq	_netif_init
	movq	_MQBOX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_netthread_mbox@GOTPCREL(%rip), %rdi
	callq	_MQ_Init
	movq	%rax, %rcx
	movq	_MQ_ERROR_SUCCESSFUL@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_27
## %bb.2:
	movq	$0, -48(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_10
## %bb.3:
	testq	%r12, %r12
	je	LBB0_24
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.5:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.6:
	testq	%r14, %r14
	je	LBB0_24
## %bb.7:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.8:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_24
## %bb.9:
	movq	%rcx, -48(%rbp)
	movq	%rdx, -64(%rbp)
	movq	%rax, -56(%rbp)
LBB0_10:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	_g_hNetIF@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_bba_create
	movq	_bba_init@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_net_input@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rax, %r8
	callq	_netif_add
	testq	%rax, %rax
	je	LBB0_25
## %bb.11:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_netif_set_up
	movq	%r14, %rdi
	callq	_netif_set_default
	leaq	-48(%rbp), %rdi
	movl	$127, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_IP4_ADDR
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$255, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_IP4_ADDR
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movl	$127, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_IP4_ADDR
	movq	_loopif_init@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_net_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	_g_hLoopIF@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_netif_add
	xorl	%eax, %eax
	callq	_net_init
	testl	%eax, %eax
	jne	LBB0_27
## %bb.12:
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_28
## %bb.13:
	movq	_g_hNetIF@GOTPCREL(%rip), %r13
	movq	24(%r13), %rax
	movq	(%rax), %rcx
	movq	_DHCP_BOUND@GOTPCREL(%rip), %r14
	testl	%r15d, %r15d
	setg	%al
	cmpq	(%r14), %rcx
	je	LBB0_17
## %bb.14:
	testl	%r15d, %r15d
	jle	LBB0_17
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_usleep
	movq	24(%r13), %rax
	movq	(%rax), %rcx
	cmpl	$2, %r15d
	setae	%al
	cmpq	(%r14), %rcx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	leal	-1(%r15), %ecx
	cmpl	$1, %r15d
	movl	%ecx, %r15d
	ja	LBB0_15
LBB0_17:
	testb	%al, %al
	je	LBB0_29
## %bb.18:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.19:
	movq	16(%r13), %rax
	movq	%rax, (%rbx)
LBB0_20:
	testq	%r12, %r12
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	8(%r13), %rax
	movq	%rax, (%r12)
LBB0_22:
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.23:
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_24:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_25:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
LBB0_26:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_27:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_29:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_g_netinitiated,4,2             ## @g_netinitiated
	.comm	_netthread_mbox,4,2             ## @netthread_mbox
	.comm	_MQBOX_SIZE,4,2                 ## @MQBOX_SIZE
	.comm	_MQ_ERROR_SUCCESSFUL,8,3        ## @MQ_ERROR_SUCCESSFUL
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_g_hNetIF,32,3                  ## @g_hNetIF
	.comm	_bba_init,4,2                   ## @bba_init
	.comm	_net_input,4,2                  ## @net_input
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_g_hLoopIF,32,3                 ## @g_hLoopIF
	.comm	_loopif_init,4,2                ## @loopif_init
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_DHCP_BOUND,8,3                 ## @DHCP_BOUND
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_DHCPCOARSE_TIMER_ID,4,2        ## @DHCPCOARSE_TIMER_ID
	.comm	_DHCPFINE_TIMER_ID,4,2          ## @DHCPFINE_TIMER_ID
	.comm	_DHCP_COARSE_TIMER_SECS,8,3     ## @DHCP_COARSE_TIMER_SECS
	.comm	_DHCP_FINE_TIMER_MSECS,4,2      ## @DHCP_FINE_TIMER_MSECS
	.comm	_TB_NSPERMS,4,2                 ## @TB_NSPERMS
	.comm	___dhcpcoarse_timer,4,2         ## @__dhcpcoarse_timer
	.comm	___dhcpfine_timer,4,2           ## @__dhcpfine_timer
	.comm	_dhcp_coarsetimer_cntrl,4,2     ## @dhcp_coarsetimer_cntrl
	.comm	_dhcp_finetimer_cntrl,4,2       ## @dhcp_finetimer_cntrl
	.comm	_net_dhcpcoarse_ticks,4,2       ## @net_dhcpcoarse_ticks
	.comm	_net_dhcpfine_ticks,4,2         ## @net_dhcpfine_ticks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_configex                    ; -- Begin function if_configex
	.p2align	2
_if_configex:                           ; @if_configex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _g_netinitiated@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_netinitiated@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_28
LBB0_2:
	mov	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	w9, #1
	str	w9, [x8]
	bl	_sys_init
	bl	_mem_init
	bl	_memp_init
	bl	_pbuf_init
	bl	_netif_init
Lloh2:
	adrp	x8, _MQBOX_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MQBOX_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, _netthread_mbox@GOTPAGE
Lloh6:
	ldr	x0, [x0, _netthread_mbox@GOTPAGEOFF]
	bl	_MQ_Init
Lloh7:
	adrp	x8, _MQ_ERROR_SUCCESSFUL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MQ_ERROR_SUCCESSFUL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.3:
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_11
; %bb.4:
	cbz	x20, LBB0_25
; %bb.5:
	cbz	x21, LBB0_25
; %bb.6:
	ldr	x8, [x20]
	cbz	x8, LBB0_25
; %bb.7:
	cbz	x19, LBB0_25
; %bb.8:
	ldr	x9, [x21]
	cbz	x9, LBB0_25
; %bb.9:
	ldr	x10, [x19]
	cbz	x10, LBB0_25
; %bb.10:
	stp	x10, x9, [sp, #16]
	str	x8, [sp, #8]
LBB0_11:
Lloh13:
	adrp	x24, _g_hNetIF@GOTPAGE
Lloh14:
	ldr	x24, [x24, _g_hNetIF@GOTPAGEOFF]
	mov	x0, x24
	bl	_bba_create
	mov	x4, x0
Lloh15:
	adrp	x8, _bba_init@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bba_init@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
Lloh18:
	adrp	x26, _net_input@GOTPAGE
Lloh19:
	ldr	x26, [x26, _net_input@GOTPAGEOFF]
	ldr	w6, [x26]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x24
	bl	_netif_add
	cbz	x0, LBB0_26
; %bb.12:
	mov	x25, x0
	bl	_netif_set_up
	mov	x0, x25
	bl	_netif_set_default
	add	x0, sp, #24
	mov	w1, #127
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	bl	_IP4_ADDR
	add	x0, sp, #16
	mov	w1, #255
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_IP4_ADDR
	add	x0, sp, #8
	mov	w1, #127
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	bl	_IP4_ADDR
Lloh20:
	adrp	x8, _loopif_init@GOTPAGE
Lloh21:
	ldr	x8, [x8, _loopif_init@GOTPAGEOFF]
Lloh22:
	ldr	w5, [x8]
	ldr	w6, [x26]
Lloh23:
	adrp	x0, _g_hLoopIF@GOTPAGE
Lloh24:
	ldr	x0, [x0, _g_hLoopIF@GOTPAGEOFF]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x4, #0
	bl	_netif_add
	bl	_net_init
	cbnz	w0, LBB0_28
; %bb.13:
Lloh25:
	adrp	x8, _TRUE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_1
; %bb.14:
	ldr	x8, [x24, #24]
	ldr	x9, [x8]
Lloh28:
	adrp	x23, _DHCP_BOUND@GOTPAGE
Lloh29:
	ldr	x23, [x23, _DHCP_BOUND@GOTPAGEOFF]
	ldr	x10, [x23]
	cmp	w22, #0
	cset	w8, gt
	cmp	x9, x10
	b.eq	LBB0_17
; %bb.15:
	cmp	w22, #1
	b.lt	LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	bl	_usleep
	subs	w9, w22, #1
	ldr	x8, [x24, #24]
	ldr	x10, [x8]
	ldr	x11, [x23]
	cset	w8, hi
	cmp	x10, x11
	ccmp	w22, #1, #0, ne
	mov	x22, x9
	b.hi	LBB0_16
LBB0_17:
	cbz	w8, LBB0_29
; %bb.18:
	cbz	x21, LBB0_20
; %bb.19:
	ldr	x8, [x24, #16]
	str	x8, [x21]
LBB0_20:
	cbz	x20, LBB0_22
; %bb.21:
	ldr	x8, [x24, #8]
	str	x8, [x20]
LBB0_22:
	mov	w0, #0
	cbz	x19, LBB0_28
; %bb.23:
	ldr	x8, [x24]
	str	x8, [x19]
	b	LBB0_28
LBB0_24:
	mov	w0, #-1
	b	LBB0_28
LBB0_25:
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_27
LBB0_26:
Lloh32:
	adrp	x8, _ENXIO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_28:
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_29:
Lloh34:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_27
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_g_netinitiated,4,2             ; @g_netinitiated
	.comm	_netthread_mbox,4,2             ; @netthread_mbox
	.comm	_MQBOX_SIZE,4,2                 ; @MQBOX_SIZE
	.comm	_MQ_ERROR_SUCCESSFUL,8,3        ; @MQ_ERROR_SUCCESSFUL
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_g_hNetIF,32,3                  ; @g_hNetIF
	.comm	_bba_init,4,2                   ; @bba_init
	.comm	_net_input,4,2                  ; @net_input
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_g_hLoopIF,32,3                 ; @g_hLoopIF
	.comm	_loopif_init,4,2                ; @loopif_init
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_DHCP_BOUND,8,3                 ; @DHCP_BOUND
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_DHCPCOARSE_TIMER_ID,4,2        ; @DHCPCOARSE_TIMER_ID
	.comm	_DHCPFINE_TIMER_ID,4,2          ; @DHCPFINE_TIMER_ID
	.comm	_DHCP_COARSE_TIMER_SECS,8,3     ; @DHCP_COARSE_TIMER_SECS
	.comm	_DHCP_FINE_TIMER_MSECS,4,2      ; @DHCP_FINE_TIMER_MSECS
	.comm	_TB_NSPERMS,4,2                 ; @TB_NSPERMS
	.comm	___dhcpcoarse_timer,4,2         ; @__dhcpcoarse_timer
	.comm	___dhcpfine_timer,4,2           ; @__dhcpfine_timer
	.comm	_dhcp_coarsetimer_cntrl,4,2     ; @dhcp_coarsetimer_cntrl
	.comm	_dhcp_finetimer_cntrl,4,2       ; @dhcp_finetimer_cntrl
	.comm	_net_dhcpcoarse_ticks,4,2       ; @net_dhcpcoarse_ticks
	.comm	_net_dhcpfine_ticks,4,2         ; @net_dhcpfine_ticks
.subsections_via_symbols
