	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addIPAddress                   ## -- Begin function addIPAddress
	.p2align	4, 0x90
_addIPAddress:                          ## @addIPAddress
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r12d
	movl	%esi, %r13d
	movl	%edi, %r14d
	movq	_FILE_READ_DATA@GOTPCREL(%rip), %rax
	movq	_FILE_WRITE_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	callq	_openTcpFile
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movl	%ebx, %edi
	callq	_NT_SUCCESS
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	%r12d, -56(%rbp)
	movl	%r14d, -64(%rbp)
	movl	%r13d, -60(%rbp)
	movl	-44(%rbp), %edi
	movq	_IOCTL_SET_IP_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-64(%rbp), %rax
	leaq	-48(%rbp), %r8
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	pushq	$12
	pushq	%rax
	pushq	$12
	pushq	%rax
	callq	_NtDeviceIoControlFile
	addq	$32, %rsp
	movl	%eax, %ebx
	movl	-44(%rbp), %edi
	callq	_closeTcpFile
	movl	%ebx, %edi
	callq	_NT_SUCCESS
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	-48(%rbp), %eax
	movl	%eax, (%r15)
	movl	-64(%rbp), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_3:
	movl	%ebx, %edi
	callq	_NT_SUCCESS
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_ERR
LBB0_5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILE_READ_DATA,4,2             ## @FILE_READ_DATA
	.comm	_FILE_WRITE_DATA,4,2            ## @FILE_WRITE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Called.\n"

	.comm	_IOCTL_SET_IP_ADDRESS,4,2       ## @IOCTL_SET_IP_ADDRESS
L_.str.1:                               ## @.str.1
	.asciz	"addIPAddress for if %d returning 0x%lx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addIPAddress                   ; -- Begin function addIPAddress
	.p2align	2
_addIPAddress:                          ; @addIPAddress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _FILE_READ_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILE_READ_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FILE_WRITE_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FILE_WRITE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	add	x0, sp, #44
	bl	_openTcpFile
	mov	x22, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x22
	bl	_NT_SUCCESS
	cbz	x0, LBB0_5
; %bb.1:
	stp	w23, w19, [sp, #36]
	str	w24, [sp, #32]
	ldr	w0, [sp, #44]
Lloh8:
	adrp	x8, _IOCTL_SET_IP_ADDRESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IOCTL_SET_IP_ADDRESS@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	w8, #12
	str	w8, [sp, #8]
	add	x8, sp, #32
	str	x8, [sp]
	add	x4, sp, #24
	add	x6, sp, #32
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	w7, #12
	bl	_NtDeviceIoControlFile
	mov	x22, x0
	ldr	w0, [sp, #44]
	bl	_closeTcpFile
	mov	x0, x22
	bl	_NT_SUCCESS
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #24]
	str	w8, [x21]
	ldr	w8, [sp, #32]
	str	w8, [x20]
LBB0_3:
	mov	x0, x22
	bl	_NT_SUCCESS
	cbnz	x0, LBB0_5
; %bb.4:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	bl	_ERR
LBB0_5:
	mov	x0, x22
	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
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FILE_READ_DATA,4,2             ; @FILE_READ_DATA
	.comm	_FILE_WRITE_DATA,4,2            ; @FILE_WRITE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Called.\n"

	.comm	_IOCTL_SET_IP_ADDRESS,4,2       ; @IOCTL_SET_IP_ADDRESS
l_.str.1:                               ; @.str.1
	.asciz	"addIPAddress for if %d returning 0x%lx\n"

.subsections_via_symbols
