	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xt_find_revision               ## -- Begin function xt_find_revision
	.p2align	4, 0x90
_xt_find_revision:                      ## @xt_find_revision
	.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	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$-1, -44(%rbp)
	movq	_xt@GOTPCREL(%rip), %rax
	leaq	(,%rdi,4), %r13
	movq	(%rax), %rdi
	addq	%r13, %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	$1, %eax
	movq	_EINTR@GOTPCREL(%rip), %rcx
LBB0_2:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_3:
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rsi)
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	cmpl	$1, %r14d
	jne	LBB0_7
## %bb.6:
	callq	_target_revfn
	jmp	LBB0_8
LBB0_7:
	callq	_match_revfn
LBB0_8:
	movl	%eax, %ebx
	movq	_xt@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	movq	%r13, %rdi
	callq	_mutex_unlock
	movl	-44(%rbp), %eax
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.9:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, (%rsi)
	movl	$1, %eax
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.10:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_11:
	xorl	%eax, %eax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_xt,8,3                         ## @xt
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xt_find_revision               ; -- Begin function xt_find_revision
	.p2align	2
_xt_find_revision:                      ; @xt_find_revision
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	w8, #-1
	str	w8, [sp, #12]
Lloh0:
	adrp	x24, _xt@GOTPAGE
Lloh1:
	ldr	x24, [x24, _xt@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x0, x8, x0, lsl #2
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_4
; %bb.1:
	mov	w0, #1
Lloh2:
	adrp	x8, _EINTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19]
LBB0_3:
	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
	add	sp, sp, #80
	ret
LBB0_4:
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	cmp	w23, #1
	b.ne	LBB0_6
; %bb.5:
	bl	_target_revfn
	b	LBB0_7
LBB0_6:
	bl	_match_revfn
LBB0_7:
	mov	x21, x0
	ldr	x8, [x24]
	add	x0, x8, x20, lsl #2
	bl	_mutex_unlock
	ldr	w8, [sp, #12]
	cmn	w8, #1
	b.eq	LBB0_10
; %bb.8:
	str	w8, [x19]
	mov	w0, #1
	cbnz	w21, LBB0_3
; %bb.9:
Lloh4:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
	b	LBB0_2
LBB0_10:
	mov	w0, #0
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_xt,8,3                         ; @xt
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
.subsections_via_symbols
