	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipt_ulog_packet
_ipt_ulog_packet:                       ## @ipt_ulog_packet
	.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	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	movl	24(%r8), %eax
	bsfl	%eax, %eax
	movl	$-1, %r12d
	cmovnel	%eax, %r12d
	movq	(%r8), %rax
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	(%rsi), %rcx
	cmpq	%rcx, %rax
	movq	%rax, %rdx
	cmovaq	%rcx, %rdx
	testq	%rax, %rax
	cmoveq	%rcx, %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leal	72(%rdx), %edi
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	callq	_NLMSG_SPACE
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ulog_buffers@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	shlq	$5, %r12
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r12), %rbx
	movq	_ulog_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	leaq	(%r15,%r12), %r14
	addq	$24, %r14
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	24(%r15,%r12), %rdi
	testq	%rdi, %rdi
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	je	LBB0_1
## %bb.3:
	movl	(%rbx), %eax
	movq	%r13, %r12
	cmpl	8(%r13), %eax
	movq	%r14, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_5
## %bb.4:
	callq	_skb_tailroom
	cmpq	%rax, %rbx
	jbe	LBB0_6
LBB0_5:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ulog_send
	movq	%rbx, %rdi
	callq	_ulog_alloc_skb
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movl	(%r14), %esi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	(%r15), %rdi
	movl	(%r14), %edx
	movq	_ULOG_NL_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	callq	_NLMSG_PUT
	incl	(%r14)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_NLMSG_DATA
	movq	%rax, %r13
	movq	-120(%rbp), %r15                ## 8-byte Reload
	cmpq	$0, 32(%r15)
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	___net_timestamp
LBB0_8:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	32(%r15), %rdi
	callq	_ktime_to_timeval
	movq	%rax, %rbx
	movq	%rax, %rdi
	shrq	$32, %rdi
	leaq	64(%r13), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_put_unaligned
	leaq	60(%r13), %rsi
	movl	%ebx, %edi
	callq	_put_unaligned
	movl	24(%r15), %edi
	movq	%r13, %rsi
	addq	$56, %rsi
	callq	_put_unaligned
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movq	16(%r13), %rdi
	jmp	LBB0_11
LBB0_1:
	movq	%r13, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ulog_alloc_skb
	movq	%rax, (%r14)
	testq	%rax, %rax
	movq	%r14, %r15
	jne	LBB0_6
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	callq	_PRINTR
	jmp	LBB0_34
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	cmpb	$0, (%rsi)
	movq	16(%r13), %rdi
	je	LBB0_12
LBB0_11:
	movl	$8, %edx
	callq	_strncpy
LBB0_13:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.14:
	movq	(%rsi), %rcx
	testq	%rcx, %rcx
	jle	LBB0_15
## %bb.16:
	movq	8(%r15), %rdx
	xorl	%eax, %eax
	cmpq	16(%r15), %rdx
	je	LBB0_19
## %bb.17:
	movq	_ULOG_MAC_LEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_19
## %bb.18:
	movl	52(%r13), %ebx
	movq	%r15, %rdi
	callq	_skb_mac_header
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_memcpy
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rax
	jmp	LBB0_19
LBB0_20:
	movq	$0, 24(%r13)
	movq	32(%r13), %rax
	movb	$0, (%rax)
	jmp	LBB0_21
LBB0_15:
	xorl	%eax, %eax
LBB0_19:
	movq	%rax, 24(%r13)
	movq	32(%r13), %rdi
	movq	8(%rsi), %rsi
	movl	$8, %edx
	callq	_strncpy
LBB0_21:
	movq	40(%r13), %rdi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	8(%rax), %rsi
	movl	$8, %edx
	callq	_strncpy
	jmp	LBB0_24
LBB0_23:
	movb	$0, (%rdi)
LBB0_24:
	movl	48(%r13), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_skb_copy_bits
	testq	%rax, %rax
	jns	LBB0_26
## %bb.25:
	xorl	%eax, %eax
	callq	_BUG
LBB0_26:
	cmpl	$2, (%r14)
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jl	LBB0_28
## %bb.27:
	movq	_NLM_F_MULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rdx,%rcx), %rcx
	orl	%eax, 4(%rcx)
LBB0_28:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, 16(%rdx,%rax)
	leaq	(%rdx,%rax), %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_timer_pending
	testl	%eax, %eax
	jne	LBB0_30
## %bb.29:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_flushtimeout@GOTPCREL(%rip), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	(%rcx), %edx
	movslq	%edx, %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%rbx, %rdi
	callq	_add_timer
LBB0_30:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
	cmpl	%eax, (%r14)
	jl	LBB0_34
## %bb.31:
	cmpl	$2, %eax
	jl	LBB0_33
## %bb.32:
	movq	_NLMSG_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_33:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ulog_send
LBB0_34:
	movq	_ulog_lock@GOTPCREL(%rip), %rdi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_12:
	movb	$0, (%rdi)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ulog_buffers,8,3               ## @ulog_buffers
	.comm	_ulog_lock,4,2                  ## @ulog_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ipt_ULOG: qlen %d, qthreshold %Zu\n"

	.comm	_ULOG_NL_EVENT,4,2              ## @ULOG_NL_EVENT
	.comm	_ULOG_MAC_LEN,8,3               ## @ULOG_MAC_LEN
	.comm	_NLM_F_MULTI,4,2                ## @NLM_F_MULTI
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_flushtimeout,4,2               ## @flushtimeout
	.comm	_HZ,4,2                         ## @HZ
	.comm	_NLMSG_DONE,4,2                 ## @NLMSG_DONE
L_.str.2:                               ## @.str.2
	.asciz	"ipt_ULOG: Error building netlink message\n"

	.no_dead_strip	_ipt_ulog_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipt_ulog_packet
_ipt_ulog_packet:                       ; @ipt_ulog_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x26, x5
	mov	x20, x4
	str	x3, [sp, #16]                   ; 8-byte Folded Spill
	mov	x25, x2
	mov	x21, x1
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w8, [x4, #24]
	rbit	w9, w8
	clz	w9, w9
	cmp	w8, #0
	csinv	w19, w9, wzr, ne
	ldr	x8, [x4]
	ldr	x9, [x1]
	cmp	x8, x9
	ccmp	x8, #0, #4, ls
	csel	x22, x9, x8, eq
	add	w24, w22, #72
	mov	x0, x24
	bl	_NLMSG_SPACE
	mov	x27, x0
Lloh0:
	adrp	x8, _ulog_buffers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ulog_buffers@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	x28, x8, x19, lsl #5
Lloh3:
	adrp	x0, _ulog_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ulog_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
	mov	x23, x28
	ldr	x0, [x23, #24]!
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x28]
	ldr	w9, [x20, #8]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
	bl	_skb_tailroom
	cmp	x27, x0
	b.ls	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_ulog_send
LBB0_4:
	mov	x0, x27
	bl	_ulog_alloc_skb
	str	x0, [x23]
	cbz	x0, LBB0_9
LBB0_5:
	ldr	w1, [x28]
	ldr	w2, [x20, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x0, [x23]
	ldr	w2, [x28]
Lloh7:
	adrp	x8, _ULOG_NL_EVENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ULOG_NL_EVENT@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	w1, #0
	mov	x4, x24
	bl	_NLMSG_PUT
	mov	x24, x0
	ldr	w8, [x28]
	add	w8, w8, #1
	str	w8, [x28]
	bl	_NLMSG_DATA
	mov	x27, x0
	ldr	x8, [x21, #32]
	cbnz	x8, LBB0_7
; %bb.6:
	mov	x0, x21
	bl	___net_timestamp
LBB0_7:
	str	x22, [x27]
	ldr	x0, [x21, #32]
	bl	_ktime_to_timeval
	mov	x23, x0
	lsr	x0, x0, #32
	add	x1, x27, #64
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_put_unaligned
	add	x1, x27, #60
	mov	x0, x23
	bl	_put_unaligned
	ldr	w0, [x21, #24]
	add	x1, x27, #56
	bl	_put_unaligned
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [x27, #8]
	cbz	x26, LBB0_10
; %bb.8:
	ldr	x0, [x27, #16]
	mov	x1, x26
	b	LBB0_11
LBB0_9:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_PRINTR
	b	LBB0_33
LBB0_10:
	ldr	x1, [x20, #16]
	ldrb	w8, [x1]
	ldr	x0, [x27, #16]
	cbz	w8, LBB0_18
LBB0_11:
	mov	w2, #8
	bl	_strncpy
	cbz	x25, LBB0_19
LBB0_12:
	ldr	x9, [x25]
	cmp	x9, #1
	b.lt	LBB0_16
; %bb.13:
	mov	x8, #0
	ldp	x10, x11, [x21, #8]
	cmp	x10, x11
	b.eq	LBB0_17
; %bb.14:
Lloh12:
	adrp	x10, _ULOG_MAC_LEN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ULOG_MAC_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.gt	LBB0_17
; %bb.15:
	ldr	w23, [x27, #52]
	mov	x0, x21
	bl	_skb_mac_header
	mov	x1, x0
	ldr	x2, [x25]
	mov	x0, x23
	bl	_memcpy
	ldr	x8, [x25]
	b	LBB0_17
LBB0_16:
	mov	x8, #0
LBB0_17:
	str	x8, [x27, #24]
	ldr	x0, [x27, #32]
	ldr	x1, [x25, #8]
	mov	w2, #8
	bl	_strncpy
	b	LBB0_20
LBB0_18:
	strb	wzr, [x0]
	cbnz	x25, LBB0_12
LBB0_19:
	str	xzr, [x27, #24]
	ldr	x8, [x27, #32]
	strb	wzr, [x8]
LBB0_20:
	ldr	x0, [x27, #40]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_22
; %bb.21:
	ldr	x1, [x8, #8]
	mov	w2, #8
	bl	_strncpy
	b	LBB0_23
LBB0_22:
	strb	wzr, [x0]
LBB0_23:
	ldr	w2, [x27, #48]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x22
	bl	_skb_copy_bits
	tbz	x0, #63, LBB0_25
; %bb.24:
	bl	_BUG
LBB0_25:
	ldr	w8, [x28]
	cmp	w8, #2
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
	b.lt	LBB0_27
; %bb.26:
Lloh15:
	adrp	x8, _NLM_F_MULTI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NLM_F_MULTI@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	x9, x11, x19, lsl #5
	ldr	x9, [x9, #16]
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
	str	w8, [x9, #4]
LBB0_27:
	add	x8, x11, x19, lsl #5
	str	x24, [x8, #16]
	add	x21, x8, #8
	mov	x0, x21
	bl	_timer_pending
	cbnz	w0, LBB0_29
; %bb.28:
Lloh18:
	adrp	x8, _jiffies@GOTPAGE
Lloh19:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _flushtimeout@GOTPAGE
Lloh22:
	ldr	x9, [x9, _flushtimeout@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _HZ@GOTPAGE
Lloh25:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	mul	w9, w10, w9
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	add	x8, x8, w9, sxtw
	str	x8, [x21]
	mov	x0, x21
	bl	_add_timer
LBB0_29:
	ldr	w9, [x28]
	ldr	w8, [x20, #8]
	cmp	w9, w8
	b.lt	LBB0_33
; %bb.30:
	cmp	w8, #2
	b.lt	LBB0_32
; %bb.31:
Lloh27:
	adrp	x8, _NLMSG_DONE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NLMSG_DONE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x24]
LBB0_32:
	mov	x0, x19
	bl	_ulog_send
LBB0_33:
Lloh30:
	adrp	x0, _ulog_lock@GOTPAGE
Lloh31:
	ldr	x0, [x0, _ulog_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_spin_unlock_bh
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ulog_buffers,8,3               ; @ulog_buffers
	.comm	_ulog_lock,4,2                  ; @ulog_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ipt_ULOG: qlen %d, qthreshold %Zu\n"

	.comm	_ULOG_NL_EVENT,4,2              ; @ULOG_NL_EVENT
	.comm	_ULOG_MAC_LEN,8,3               ; @ULOG_MAC_LEN
	.comm	_NLM_F_MULTI,4,2                ; @NLM_F_MULTI
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_flushtimeout,4,2               ; @flushtimeout
	.comm	_HZ,4,2                         ; @HZ
	.comm	_NLMSG_DONE,4,2                 ; @NLMSG_DONE
l_.str.2:                               ; @.str.2
	.asciz	"ipt_ULOG: Error building netlink message\n"

	.no_dead_strip	_ipt_ulog_packet
.subsections_via_symbols
