	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ah_mt6
_ah_mt6:                                ## @ah_mt6
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rsi), %r14
	movl	$0, -44(%rbp)
	movq	_NEXTHDR_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	leaq	-44(%rbp), %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ipv6_find_hdr
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movl	-44(%rbp), %esi
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movl	(%rax), %edx
	leal	8(,%rdx,4), %r15d
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	4(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	8(%r12), %edi
	callq	_ntohl
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	16(%r14), %rax
	movl	(%rax), %ebx
	movl	4(%rax), %r13d
	movl	8(%r12), %edi
	callq	_ntohl
	movq	_IP6T_AH_INV_SPI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	andl	(%r14), %edx
	setne	%cl
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_spi_match
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	4(%r14), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.7:
	cmpl	%r15d, %esi
	sete	%al
	movq	_IP6T_AH_INV_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	setne	%cl
	xorb	%al, %cl
	movzbl	%cl, %ecx
	jmp	LBB0_8
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_15
## %bb.2:
	movq	(%r15), %rax
	movl	$1, (%rax)
	jmp	LBB0_15
LBB0_4:
	movq	(%r15), %rax
	movl	$1, (%rax)
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_6:
	movl	$1, %ecx
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	8(%r14), %esi
	movl	4(%r12), %edx
	testl	%esi, %esi
	sete	%al
	testl	%edx, %edx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %ecx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	16(%r14), %rax
	movl	(%rax), %ebx
	movl	4(%rax), %r13d
	movl	8(%r12), %edi
	callq	_ntohl
	movq	_IP6T_AH_INV_SPI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	andl	(%r14), %edx
	setne	%cl
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_spi_match
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	4(%r14), %eax
	testl	%eax, %eax
	movl	$0, %r13d
	je	LBB0_12
## %bb.11:
	cmpl	%r15d, %eax
	sete	%al
	movq	_IP6T_AH_INV_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	setne	%cl
	cmpb	%cl, %al
	je	LBB0_15
LBB0_12:
	cmpl	$0, 8(%r14)
	je	LBB0_13
## %bb.14:
	xorl	%r13d, %r13d
	cmpl	$0, 4(%r12)
	sete	%r13b
	jmp	LBB0_15
LBB0_9:
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_13:
	movl	$1, %r13d
LBB0_15:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NEXTHDR_AUTH,4,2               ## @NEXTHDR_AUTH
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IPv6 AH LEN %u %u "

L_.str.1:                               ## @.str.1
	.asciz	"RES %04X "

L_.str.2:                               ## @.str.2
	.asciz	"SPI %u %08X\n"

L_.str.3:                               ## @.str.3
	.asciz	"IPv6 AH spi %02X "

	.comm	_IP6T_AH_INV_SPI,4,2            ## @IP6T_AH_INV_SPI
L_.str.4:                               ## @.str.4
	.asciz	"len %02X %04X %02X "

	.comm	_IP6T_AH_INV_LEN,4,2            ## @IP6T_AH_INV_LEN
L_.str.5:                               ## @.str.5
	.asciz	"res %02X %04X %02X\n"

	.no_dead_strip	_ah_mt6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ah_mt6
_ah_mt6:                                ; @ah_mt6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x1, #8]
	str	wzr, [sp, #28]
Lloh0:
	adrp	x8, _NEXTHDR_AUTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEXTHDR_AUTH@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #28
	mov	x3, #0
	mov	x4, #0
	bl	_ipv6_find_hdr
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w1, [sp, #28]
	add	x3, sp, #32
	mov	x0, x19
	mov	w2, #12
	bl	_skb_header_pointer
	cbz	x0, LBB0_6
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0]
	lsl	w9, w8, #2
	add	w20, w9, #8
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_debug
	ldr	w1, [x19, #4]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	ldr	w0, [x19, #8]
	bl	_ntohl
	mov	x1, x0
	str	x1, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_pr_debug
	ldr	x8, [x23, #16]
	ldp	w21, w22, [x8]
	ldr	w0, [x19, #8]
	bl	_ntohl
	mov	x2, x0
	ldr	w8, [x23]
Lloh9:
	adrp	x24, _IP6T_AH_INV_SPI@GOTPAGE
Lloh10:
	ldr	x24, [x24, _IP6T_AH_INV_SPI@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	cset	w3, ne
	mov	x0, x21
	mov	x1, x22
	bl	_spi_match
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
	ldr	w1, [x23, #4]
Lloh13:
	adrp	x25, _IP6T_AH_INV_LEN@GOTPAGE
Lloh14:
	ldr	x25, [x25, _IP6T_AH_INV_LEN@GOTPAGEOFF]
	cbz	w1, LBB0_7
; %bb.3:
	cmp	w1, w20
	cset	w8, eq
	ldr	w9, [x23]
	ldr	w10, [x25]
	tst	w10, w9
	cset	w9, ne
	eor	w8, w8, w9
	b	LBB0_8
LBB0_4:
Lloh15:
	adrp	x8, _ENOENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_13
; %bb.5:
	mov	w0, #0
LBB0_6:
	ldr	x8, [x20]
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_15
LBB0_7:
	mov	w8, #1
LBB0_8:
	stp	x20, x8, [sp]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
	ldr	w1, [x23, #8]
	ldr	w8, [x19, #4]
	cmp	w1, #0
	ccmp	w8, #0, #4, ne
	cset	w9, eq
	stp	x8, x9, [sp]
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x23, #16]
	ldp	w21, w22, [x8]
	ldr	w0, [x19, #8]
	bl	_ntohl
	mov	x2, x0
	ldr	w8, [x23]
	ldr	w9, [x24]
	tst	w9, w8
	cset	w3, ne
	mov	x0, x21
	mov	x1, x22
	bl	_spi_match
	cbz	w0, LBB0_15
; %bb.9:
	ldr	w8, [x23, #4]
	cbz	w8, LBB0_11
; %bb.10:
	cmp	w8, w20
	cset	w8, eq
	ldr	w9, [x23]
	ldr	w10, [x25]
	tst	w10, w9
	cset	w9, ne
	cmp	w8, w9
	b.eq	LBB0_13
LBB0_11:
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_14
; %bb.12:
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_15
LBB0_13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
	mov	w0, #1
LBB0_15:
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NEXTHDR_AUTH,4,2               ; @NEXTHDR_AUTH
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IPv6 AH LEN %u %u "

l_.str.1:                               ; @.str.1
	.asciz	"RES %04X "

l_.str.2:                               ; @.str.2
	.asciz	"SPI %u %08X\n"

l_.str.3:                               ; @.str.3
	.asciz	"IPv6 AH spi %02X "

	.comm	_IP6T_AH_INV_SPI,4,2            ; @IP6T_AH_INV_SPI
l_.str.4:                               ; @.str.4
	.asciz	"len %02X %04X %02X "

	.comm	_IP6T_AH_INV_LEN,4,2            ; @IP6T_AH_INV_LEN
l_.str.5:                               ; @.str.5
	.asciz	"res %02X %04X %02X\n"

	.no_dead_strip	_ah_mt6
.subsections_via_symbols
