	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_netmap_ioctl
_pcap_netmap_ioctl:                     ## @pcap_netmap_ioctl
	.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, %r14
	movl	%esi, %r12d
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %r15d
	leaq	-48(%rbp), %rdi
	movl	$12, %esi
	callq	_bzero
	movl	-40(%rbp), %edi
	movl	4(%rbx), %esi
	movl	$4, %edx
	callq	_strncpy
	cmpl	$128, %r12d
	jne	LBB0_2
## %bb.1:
	movzwl	(%r14), %eax
	movl	%eax, -48(%rbp)
LBB0_2:
	leaq	-48(%rbp), %rdx
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_ioctl
	cmpl	$129, %r12d
	jne	LBB0_5
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movzwl	-48(%rbp), %ecx
	movl	%ecx, (%r14)
LBB0_5:
	xorl	%ecx, %ecx
	negl	%eax
	sbbl	%ecx, %ecx
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_pcap_netmap_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_netmap_ioctl
_pcap_netmap_ioctl:                     ; @pcap_netmap_ioctl
	.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	x19, x2
	mov	x20, x1
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	w21, [x22]
	mov	x0, sp
	mov	w1, #12
	bl	_bzero
	ldr	w0, [sp, #8]
	ldr	w1, [x22, #4]
	mov	w2, #4
	bl	_strncpy
	cmp	w20, #128
	b.ne	LBB0_2
; %bb.1:
	ldrh	w8, [x19]
	str	w8, [sp]
LBB0_2:
	mov	x2, sp
	mov	x0, x21
	mov	x1, x20
	bl	_ioctl
	cmp	w20, #129
	b.ne	LBB0_5
; %bb.3:
	cbnz	w0, LBB0_5
; %bb.4:
	ldrh	w8, [sp]
	str	w8, [x19]
LBB0_5:
	cmp	w0, #0
	csetm	w0, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_pcap_netmap_ioctl
.subsections_via_symbols
