	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipcp_InterfaceUp               ## -- Begin function ipcp_InterfaceUp
	.p2align	4, 0x90
_ipcp_InterfaceUp:                      ## @ipcp_InterfaceUp
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movl	16(%rdi), %edx
	callq	_ipcp_SetIPaddress
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iface_SetFlags
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rax
	movl	$1, %r14d
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_la@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_LibAliasSetAddress
	jmp	LBB0_6
LBB0_1:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_6
LBB0_3:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogERROR,4,2                   ## @LogERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ipcp_InterfaceUp: unable to set ip address\n"

	.comm	_IFF_UP,4,2                     ## @IFF_UP
L_.str.1:                               ## @.str.1
	.asciz	"ipcp_InterfaceUp: Can't set the IFF_UP flag on %s\n"

	.comm	_la,4,2                         ## @la
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipcp_InterfaceUp               ; -- Begin function ipcp_InterfaceUp
	.p2align	2
_ipcp_InterfaceUp:                      ; @ipcp_InterfaceUp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w1, [x0]
	ldr	w2, [x0, #16]
	bl	_ipcp_SetIPaddress
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_iface_SetFlags
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _la@GOTPAGE
Lloh4:
	ldr	x8, [x8, _la@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_LibAliasSetAddress
LBB0_4:
	mov	w0, #1
	b	LBB0_8
LBB0_5:
Lloh6:
	adrp	x8, _LogERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _LogERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_log_Printf
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LogERROR,4,2                   ; @LogERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ipcp_InterfaceUp: unable to set ip address\n"

	.comm	_IFF_UP,4,2                     ; @IFF_UP
l_.str.1:                               ; @.str.1
	.asciz	"ipcp_InterfaceUp: Can't set the IFF_UP flag on %s\n"

	.comm	_la,4,2                         ; @la
.subsections_via_symbols
