	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_addr_to_dev                ## -- Begin function add_addr_to_dev
	.p2align	4, 0x90
_add_addr_to_dev:                       ## @add_addr_to_dev
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	40(%rbp), %r13
	movl	$40, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	$0, (%rax)
	testq	%r12, %r12
	movq	%rax, %r13
	je	LBB0_6
## %bb.2:
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_dup_sockaddr
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	40(%rbp), %rdi
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_26
LBB0_5:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %eax
	jmp	LBB0_34
LBB0_6:
	movq	$0, 16(%r13)
LBB0_7:
	testq	%r14, %r14
	je	LBB0_11
## %bb.8:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dup_sockaddr
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	movq	40(%rbp), %r14
	jne	LBB0_12
## %bb.10:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_24
LBB0_11:
	movq	$0, 24(%r13)
	movq	40(%rbp), %r14
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.13:
	movq	16(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.14:
	callq	_dup_sockaddr
	movq	%rax, 32(%r13)
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_22
LBB0_16:
	movq	$0, 32(%r13)
LBB0_17:
	movq	24(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.18:
	movq	32(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.19:
	callq	_dup_sockaddr
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	jne	LBB0_28
## %bb.20:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	movq	32(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_free
LBB0_22:
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	callq	_free
LBB0_24:
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_free
LBB0_26:
	movq	%r13, %rdi
	callq	_free
	movl	$-1, %eax
	jmp	LBB0_34
LBB0_27:
	movq	$0, 8(%r13)
LBB0_28:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rcx, %rax
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_29
## %bb.31:
	movq	%r13, (%rax)
	jmp	LBB0_33
LBB0_32:
	movq	%r13, (%rdx)
LBB0_33:
	xorl	%eax, %eax
LBB0_34:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_addr_to_dev                ; -- Begin function add_addr_to_dev
	.p2align	2
_add_addr_to_dev:                       ; @add_addr_to_dev
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x7
	mov	x23, x6
	mov	x24, x5
	mov	x25, x4
	mov	x26, x3
	mov	x27, x2
	mov	x28, x1
	mov	x21, x0
	ldr	x20, [x29, #24]
	mov	w0, #40
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	str	xzr, [x0]
	cbz	x28, LBB0_6
; %bb.2:
	cbz	x27, LBB0_6
; %bb.3:
	mov	x0, x28
	mov	x1, x27
	bl	_dup_sockaddr
	str	x0, [x19, #16]
	cbnz	x0, LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_19
LBB0_5:
Lloh8:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x3, l_.str@PAGE
Lloh15:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	mov	w0, #-1
	b	LBB0_33
LBB0_6:
	str	xzr, [x19, #16]
LBB0_7:
	cbz	x26, LBB0_11
; %bb.8:
	cbz	x25, LBB0_11
; %bb.9:
	mov	x0, x26
	mov	x1, x25
	bl	_dup_sockaddr
	str	x0, [x19, #24]
	cbnz	x0, LBB0_12
; %bb.10:
Lloh16:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x3, l_.str@PAGE
Lloh23:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_17
LBB0_11:
	str	xzr, [x19, #24]
LBB0_12:
	cbz	x24, LBB0_20
; %bb.13:
	cbz	x23, LBB0_20
; %bb.14:
	mov	x0, x24
	mov	x1, x23
	bl	_dup_sockaddr
	str	x0, [x19, #32]
	cbnz	x0, LBB0_21
; %bb.15:
Lloh24:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _errno@GOTPAGE
Lloh28:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x3, l_.str@PAGE
Lloh31:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_17
LBB0_16:
	bl	_free
LBB0_17:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_free
LBB0_19:
	mov	x0, x19
	bl	_free
	mov	w0, #-1
	b	LBB0_33
LBB0_20:
	str	xzr, [x19, #32]
LBB0_21:
	cbz	x22, LBB0_27
; %bb.22:
	ldr	x1, [x29, #16]
	cbz	x1, LBB0_27
; %bb.23:
	mov	x0, x22
	bl	_dup_sockaddr
	str	x0, [x19, #8]
	cbnz	x0, LBB0_28
; %bb.24:
Lloh32:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x3, l_.str@PAGE
Lloh39:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_26
; %bb.25:
	bl	_free
LBB0_26:
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_16
	b	LBB0_17
LBB0_27:
	str	xzr, [x19, #8]
LBB0_28:
	ldr	x9, [x21]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x8, x9
	ldr	x9, [x9]
	cbnz	x9, LBB0_29
; %bb.31:
	mov	w0, #0
	str	x19, [x8]
	b	LBB0_33
LBB0_32:
	mov	w0, #0
	str	x19, [x21]
LBB0_33:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

.subsections_via_symbols
