	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_esp_hdrsiz                     ## -- Begin function esp_hdrsiz
	.p2align	4, 0x90
_esp_hdrsiz:                            ## @esp_hdrsiz
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_IPSEC_ASSERT
	movq	24(%rbx), %rax
	movq	(%rax), %r14
	addq	$13, %r14
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_ah_hdrsiz
	addq	%rax, %r14
	jmp	LBB0_5
LBB0_4:
	movq	_EALG_MAX_BLOCK_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	addq	$29, %r14
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SA with null xform"

	.comm	_SADB_X_EXT_OLD,4,2             ## @SADB_X_EXT_OLD
	.comm	_EALG_MAX_BLOCK_LEN,4,2         ## @EALG_MAX_BLOCK_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_esp_hdrsiz                     ; -- Begin function esp_hdrsiz
	.p2align	2
_esp_hdrsiz:                            ; @esp_hdrsiz
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #24]
	cmp	x8, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_IPSEC_ASSERT
	ldp	x9, x8, [x19, #16]
	ldr	x8, [x8]
	add	x20, x8, #13
	cbz	x9, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_ah_hdrsiz
	add	x20, x0, x20
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _EALG_MAX_BLOCK_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EALG_MAX_BLOCK_LEN@GOTPAGEOFF]
Lloh4:
	ldrsw	x8, [x8]
	add	x20, x8, #29
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SA with null xform"

	.comm	_SADB_X_EXT_OLD,4,2             ; @SADB_X_EXT_OLD
	.comm	_EALG_MAX_BLOCK_LEN,4,2         ; @EALG_MAX_BLOCK_LEN
.subsections_via_symbols
