	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function br_ip4_multicast_query
_br_ip4_multicast_query:                ## @br_ip4_multicast_query
	.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	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rdx, %rdi
	callq	_ip_hdr
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_igmp_hdr
	movq	%rax, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movl	24(%r13), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_25
## %bb.1:
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rax
	movq	_BR_STATE_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
LBB0_3:
	xorl	%edx, %edx
	cmpl	$0, (%r15)
	setne	%dl
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_br_multicast_query_received
	movq	8(%r14), %r15
	cmpl	$16, (%rbx)
	jne	LBB0_5
## %bb.4:
	movslq	(%r14), %rcx
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IGMP_TIMER_SCALE@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movslq	%eax, %r12
	imulq	%rcx, %r12
	testl	%r12d, %r12d
	je	LBB0_25
LBB0_10:
	testq	%r15, %r15
	je	LBB0_25
## %bb.11:
	movl	20(%r13), %edi
	movq	%r15, %rsi
	callq	_br_mdb_ip4_get
	testq	%rax, %rax
	je	LBB0_25
## %bb.12:
	movq	%rax, %r14
	movq	%rax, %rbx
	addq	$16, %rbx
	movq	(%r13), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addq	%r15, %rsi
	movq	%rbx, %rdi
	callq	_mod_timer
	movl	$1, (%r14)
	imulq	8(%r13), %r12
	cmpq	$0, 24(%r14)
	je	LBB0_18
## %bb.13:
	movq	%rbx, %r13
	movq	%rbx, %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	(%r13), %edi
	leaq	(%r12,%r15), %rbx
	movq	%rbx, %rsi
	callq	_time_after
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_18
LBB0_5:
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	callq	_igmpv3_query_hdr
	cmpq	$0, 8(%rax)
	jne	LBB0_25
## %bb.8:
	movl	$1, %r12d
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.9:
	xorl	%edi, %edi
	callq	_IGMPV3_MRC
	movl	%eax, %ecx
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IGMP_TIMER_SCALE@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	imull	%ecx, %eax
	movslq	%eax, %r12
	jmp	LBB0_10
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_15:
	movq	%r13, %rdi
	callq	_try_to_del_timer_sync
	testq	%rax, %rax
	js	LBB0_18
## %bb.16:
	leaq	(%r12,%r15), %rbx
LBB0_17:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
LBB0_18:
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.19:
	addq	%r15, %r12
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	callq	_try_to_del_timer_sync
	testq	%rax, %rax
	js	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mod_timer
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_25
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_time_after
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_24
LBB0_25:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ebx, %ebx
LBB0_26:
	callq	_spin_unlock
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_BR_STATE_DISABLED,8,3          ## @BR_STATE_DISABLED
	.comm	_HZ,4,2                         ## @HZ
	.comm	_IGMP_TIMER_SCALE,4,2           ## @IGMP_TIMER_SCALE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_br_ip4_multicast_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function br_ip4_multicast_query
_br_ip4_multicast_query:                ; @br_ip4_multicast_query
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_ip_hdr
	mov	x24, x0
	mov	x0, x22
	bl	_igmp_hdr
	mov	x23, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	add	x19, x20, #16
	mov	x0, x19
	bl	_spin_lock
	ldr	w0, [x20, #24]
	bl	_netif_running
	cbz	w0, LBB0_12
; %bb.1:
	cbz	x21, LBB0_3
; %bb.2:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _BR_STATE_DISABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BR_STATE_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
LBB0_3:
	ldr	w8, [x24]
	cmp	w8, #0
	cset	w2, ne
	mov	x0, x20
	mov	x1, x21
	bl	_br_multicast_query_received
	ldr	x21, [x23, #8]
	ldr	w8, [x22]
	cmp	w8, #16
	b.ne	LBB0_10
; %bb.4:
	ldrsw	x8, [x23]
Lloh6:
	adrp	x9, _HZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _IGMP_TIMER_SCALE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IGMP_TIMER_SCALE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	sdiv	w9, w9, w10
	sxtw	x9, w9
	mul	x23, x9, x8
	cbz	w23, LBB0_12
LBB0_5:
	cbz	x21, LBB0_12
; %bb.6:
	ldr	w0, [x20, #20]
	mov	x1, x21
	bl	_br_mdb_ip4_get
	cbz	x0, LBB0_12
; %bb.7:
	mov	x21, x0
	add	x22, x0, #16
	ldr	x8, [x20]
	add	x1, x8, x25
	mov	x0, x22
	bl	_mod_timer
	mov	w8, #1
	str	w8, [x21]
	ldr	x8, [x20, #8]
	mul	x23, x8, x23
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_21
; %bb.8:
	mov	x0, x22
	bl	_timer_pending
	cbz	x0, LBB0_18
; %bb.9:
	ldr	w0, [x22]
	add	x20, x23, x25
	mov	x1, x20
	bl	_time_after
	cbnz	w0, LBB0_20
	b	LBB0_21
LBB0_10:
	mov	x0, x22
	mov	w1, #16
	bl	_pskb_may_pull
	cbz	w0, LBB0_14
; %bb.11:
	mov	x0, x22
	bl	_igmpv3_query_hdr
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_15
LBB0_12:
	mov	w20, #0
LBB0_13:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_13
LBB0_15:
	ldr	x8, [x0]
	cbz	x8, LBB0_17
; %bb.16:
	mov	w23, #1
	b	LBB0_5
LBB0_17:
	mov	x0, #0
	bl	_IGMPV3_MRC
Lloh15:
	adrp	x8, _HZ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _IGMP_TIMER_SCALE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IGMP_TIMER_SCALE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	mul	w8, w8, w0
	sxtw	x23, w8
	b	LBB0_5
LBB0_18:
	mov	x0, x22
	bl	_try_to_del_timer_sync
	tbnz	x0, #63, LBB0_21
; %bb.19:
	add	x20, x23, x25
LBB0_20:
	mov	x0, x22
	mov	x1, x20
	bl	_mod_timer
LBB0_21:
	ldr	x20, [x21, #8]
	cbz	x20, LBB0_13
; %bb.22:
	add	x21, x23, x25
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x20
	bl	_try_to_del_timer_sync
	tbnz	x0, #63, LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_mod_timer
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_13
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_timer_pending
	cbz	x0, LBB0_23
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	bl	_time_after
	cbnz	w0, LBB0_24
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_BR_STATE_DISABLED,8,3          ; @BR_STATE_DISABLED
	.comm	_HZ,4,2                         ; @HZ
	.comm	_IGMP_TIMER_SCALE,4,2           ; @IGMP_TIMER_SCALE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_br_ip4_multicast_query
.subsections_via_symbols
