	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function an_setap
_an_setap:                              ## @an_setap
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$8, -40(%rbp)
	movq	_AN_RID_APLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	-40(%rbp), %rsi
	callq	_an_getval
	movq	%r15, %rdi
	callq	_ether_aton
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	movl	-40(%rbp), %edi
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_bzero
	movl	(%rbx), %edx
	leaq	-40(%rbp), %rdi
	jmp	LBB0_6
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_11
LBB0_8:
	leaq	-36(%rbp), %r12
	movl	-36(%rbp), %edi
	jmp	LBB0_5
LBB0_7:
	leaq	-32(%rbp), %r12
	movl	-32(%rbp), %edi
	jmp	LBB0_5
LBB0_4:
	leaq	-28(%rbp), %r12
	movl	-28(%rbp), %edi
LBB0_5:
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_bzero
	movl	(%rbx), %edx
	movq	%r12, %rdi
LBB0_6:
	movq	%r15, %rsi
	callq	_memmove
LBB0_11:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_an_setval
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_AN_RID_APLIST,4,2              ## @AN_RID_APLIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"badly formatted address"

	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
L_.str.1:                               ## @.str.1
	.asciz	"unknown action"

	.no_dead_strip	_an_setap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function an_setap
_an_setap:                              ; @an_setap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _AN_RID_APLIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AN_RID_APLIST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #8
	add	x22, sp, #8
	stp	w9, w8, [sp, #8]
	add	x1, sp, #8
	bl	_an_getval
	mov	x0, x20
	bl	_ether_aton
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	sub	w8, w21, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.3:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w0, [sp, #8]
Lloh7:
	adrp	x21, _ETHER_ADDR_LEN@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ETHER_ADDR_LEN@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_bzero
	ldr	w2, [x21]
	add	x0, sp, #8
	b	LBB0_10
LBB0_5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_11
LBB0_6:
	orr	x21, x22, #0x4
	ldr	w0, [sp, #12]
	b	LBB0_9
LBB0_7:
	add	x8, sp, #8
	add	x21, x8, #8
	ldr	w0, [sp, #16]
	b	LBB0_9
LBB0_8:
	add	x8, sp, #8
	add	x21, x8, #12
	ldr	w0, [sp, #20]
LBB0_9:
Lloh11:
	adrp	x22, _ETHER_ADDR_LEN@GOTPAGE
Lloh12:
	ldr	x22, [x22, _ETHER_ADDR_LEN@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_bzero
	ldr	w2, [x22]
	mov	x0, x21
LBB0_10:
	mov	x1, x20
	bl	_memmove
LBB0_11:
	add	x1, sp, #8
	mov	x0, x19
	bl	_an_setval
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_AN_RID_APLIST,4,2              ; @AN_RID_APLIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"badly formatted address"

	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
l_.str.1:                               ; @.str.1
	.asciz	"unknown action"

	.no_dead_strip	_an_setap
.subsections_via_symbols
