	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_table
_change_table:                          ## @change_table
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %r14d
	leaq	-136(%rbp), %rdi
	movl	$48, %esi
	callq	_bzero
	movl	-96(%rbp), %edi
	movq	_tablename@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-88(%rbp), %rdi
	movq	%rdi, -104(%rbp)
	movabsq	$4294967344, %rax               ## imm = 0x100000030
	movq	%rax, -136(%rbp)
	movl	$48, %esi
	callq	_bzero
	movl	$-1, %eax
	testq	%r13, %r13
	je	LBB0_12
## %bb.1:
	cmpb	$0, (%r13)
	je	LBB0_12
## %bb.2:
	movq	_AF_INET@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	-60(%rbp), %rdx
	movq	%r13, %rsi
	callq	_inet_pton
	movl	$32, %ecx
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:
	movq	_AF_INET6@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	-64(%rbp), %rdx
	movq	%r13, %rsi
	callq	_inet_pton
	movl	$128, %ecx
	cmpl	$1, %eax
	jne	LBB0_4
LBB0_5:
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	movl	%ecx, -80(%rbp)
	movq	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.7:
	movq	_DIOCRDELADDRS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_DIOCRADDADDRS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	leaq	-136(%rbp), %rdx
	callq	_ioctl
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.9:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_12
## %bb.10:
	testl	%r14d, %r14d
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %r15
	cmoveq	%rax, %r15
	movl	(%r12), %r12d
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_11
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
LBB0_11:
	movl	$-1, %eax
LBB0_12:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tablename,4,2                  ## @tablename
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid ipsrc"

	.comm	_dev,4,2                        ## @dev
	.comm	_DIOCRADDADDRS,4,2              ## @DIOCRADDADDRS
	.comm	_DIOCRDELADDRS,4,2              ## @DIOCRDELADDRS
	.comm	_errno,8,3                      ## @errno
	.comm	_ESRCH,8,3                      ## @ESRCH
L_.str.1:                               ## @.str.1
	.asciz	"cannot %s %s from table %s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"add"

L_.str.3:                               ## @.str.3
	.asciz	"remove"

	.no_dead_strip	_change_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function change_table
lCPI0_0:
	.long	48                              ; 0x30
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_change_table:                          ; @change_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x1
	mov	x20, x0
	add	x0, sp, #80
	mov	w1, #48
	bl	_bzero
	ldr	w0, [sp, #120]
Lloh0:
	adrp	x22, _tablename@GOTPAGE
Lloh1:
	ldr	x22, [x22, _tablename@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w2, #4
	bl	_strlcpy
	add	x8, sp, #32
	str	x8, [sp, #112]
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #80]
	add	x0, sp, #32
	mov	w1, #48
	bl	_bzero
	cbz	x19, LBB0_12
; %bb.1:
	ldrb	w8, [x19]
	cbz	w8, LBB0_12
; %bb.2:
Lloh4:
	adrp	x21, _AF_INET@GOTPAGE
Lloh5:
	ldr	x21, [x21, _AF_INET@GOTPAGEOFF]
	ldr	x0, [x21]
	add	x23, sp, #32
	add	x2, x23, #28
	mov	x1, x19
	bl	_inet_pton
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #32
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x21, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x21, [x21, _AF_INET6@GOTPAGEOFF]
	ldr	x0, [x21]
	add	x2, x23, #24
	mov	x1, x19
	bl	_inet_pton
	cmp	w0, #1
	b.ne	LBB0_9
; %bb.5:
	mov	w8, #128
LBB0_6:
	ldr	x9, [x21]
	str	x9, [sp, #48]
	str	w8, [sp, #40]
Lloh8:
	adrp	x8, _dev@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh10:
	adrp	x9, _DIOCRADDADDRS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DIOCRADDADDRS@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _DIOCRDELADDRS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DIOCRDELADDRS@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	add	x2, sp, #80
	bl	_ioctl
	cbz	x0, LBB0_13
; %bb.7:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
Lloh18:
	adrp	x8, _ESRCH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.8:
	mov	w0, #0
	b	LBB0_13
LBB0_9:
Lloh21:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh26:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh28:
	adrp	x9, l_.str.2@PAGE
Lloh29:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh30:
	ldr	w21, [x8]
Lloh31:
	adrp	x8, l_.str.3@PAGE
Lloh32:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	w20, #0
	csel	x20, x8, x9, eq
	ldr	w22, [x22]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #16]
	stp	x20, x19, [sp]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
LBB0_11:
	bl	_syslog
LBB0_12:
	mov	w0, #-1
LBB0_13:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_tablename,4,2                  ; @tablename
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid ipsrc"

	.comm	_dev,4,2                        ; @dev
	.comm	_DIOCRADDADDRS,4,2              ; @DIOCRADDADDRS
	.comm	_DIOCRDELADDRS,4,2              ; @DIOCRDELADDRS
	.comm	_errno,8,3                      ; @errno
	.comm	_ESRCH,8,3                      ; @ESRCH
l_.str.1:                               ; @.str.1
	.asciz	"cannot %s %s from table %s: %s"

l_.str.2:                               ; @.str.2
	.asciz	"add"

l_.str.3:                               ; @.str.3
	.asciz	"remove"

	.no_dead_strip	_change_table
.subsections_via_symbols
