	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function swrap_get_pcap_fd
LCPI0_0:
	.long	2712847316                      ## 0xa1b2c3d4
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_swrap_get_pcap_fd:                     ## @swrap_get_pcap_fd
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	_swrap_get_pcap_fd.fd(%rip), %eax
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	_O_WRONLY@GOTPCREL(%rip), %r14
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r14), %esi
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_APPEND@GOTPCREL(%rip), %r15
	orl	(%r15), %esi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	_open
	movl	%eax, _swrap_get_pcap_fd.fd(%rip)
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2712847316,2,4,0]
	movaps	%xmm0, -64(%rbp)
	movabsq	$433791696896, %rcx             ## imm = 0x6500000000
	movq	%rcx, -48(%rbp)
	movq	_SWRAP_FRAME_LENGTH_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -40(%rbp)
	leaq	-64(%rbp), %rsi
	movl	%eax, %edi
	movl	$28, %edx
	callq	_write
	movl	_swrap_get_pcap_fd.fd(%rip), %eax
	jmp	LBB0_4
LBB0_3:
	movl	(%r15), %esi
	orl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	_open
	movl	%eax, _swrap_get_pcap_fd.fd(%rip)
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @swrap_get_pcap_fd.fd
_swrap_get_pcap_fd.fd:
	.long	4294967295                      ## 0xffffffff

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_SWRAP_FRAME_LENGTH_MAX,4,2     ## @SWRAP_FRAME_LENGTH_MAX
	.no_dead_strip	_swrap_get_pcap_fd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function swrap_get_pcap_fd
lCPI0_0:
	.long	2712847316                      ; 0xa1b2c3d4
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	0                               ; 0x0
	.long	101                             ; 0x65
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_swrap_get_pcap_fd:                     ; @swrap_get_pcap_fd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	adrp	x20, _swrap_get_pcap_fd.fd@PAGE
	ldr	w0, [x20, _swrap_get_pcap_fd.fd@PAGEOFF]
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.1:
Lloh0:
	adrp	x21, _O_WRONLY@GOTPAGE
Lloh1:
	ldr	x21, [x21, _O_WRONLY@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh8:
	adrp	x22, _O_APPEND@GOTPAGE
Lloh9:
	ldr	x22, [x22, _O_APPEND@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w1, w8, w9
	mov	x0, x19
	mov	w2, #420
	bl	_open
	str	w0, [x20, _swrap_get_pcap_fd.fd@PAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
Lloh12:
	adrp	x8, _SWRAP_FRAME_LENGTH_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SWRAP_FRAME_LENGTH_MAX@GOTPAGEOFF]
	str	q0, [sp]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh15:
	adrp	x8, lCPI0_1@PAGE
Lloh16:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #16]
	mov	x1, sp
	mov	w2, #28
	bl	_write
	ldr	w0, [x20, _swrap_get_pcap_fd.fd@PAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #420
	bl	_open
	str	w0, [x20, _swrap_get_pcap_fd.fd@PAGEOFF]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @swrap_get_pcap_fd.fd
_swrap_get_pcap_fd.fd:
	.long	4294967295                      ; 0xffffffff

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_SWRAP_FRAME_LENGTH_MAX,4,2     ; @SWRAP_FRAME_LENGTH_MAX
	.no_dead_strip	_swrap_get_pcap_fd
.subsections_via_symbols
