	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_setrcvhdrsize            ## -- Begin function ipath_setrcvhdrsize
	.p2align	4, 0x90
_ipath_setrcvhdrsize:                   ## @ipath_setrcvhdrsize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	movq	_IPATH_RCVHDRSZ_SET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%ecx, %esi
	je	LBB0_4
## %bb.1:
	movl	4(%rbx), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_VERBOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %edi
	movslq	8(%rbx), %rdx
	cmpq	%rdx, %rdi
	jbe	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_ipath_dbg
	movq	_EOVERFLOW@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_2:
	movq	24(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_info
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_7:
	orl	%ecx, %esi
	movl	%esi, (%rbx)
	movl	%eax, 4(%rbx)
	movq	16(%rbx), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_ipath_write_kreg
	movq	_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
LBB0_8:
	callq	_ipath_cdbg
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPATH_RCVHDRSZ_SET,4,2         ## @IPATH_RCVHDRSZ_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: can't set protocol header size %u, already %u\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_VERBOSE,4,2                    ## @VERBOSE
L_.str.1:                               ## @.str.1
	.asciz	"Reuse same protocol header size %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error: can't set protocol header size %u (> max %u)\n"

	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
L_.str.3:                               ## @.str.3
	.asciz	"Set protocol header size to %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_setrcvhdrsize            ; -- Begin function ipath_setrcvhdrsize
	.p2align	2
_ipath_setrcvhdrsize:                   ; @ipath_setrcvhdrsize
	.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
	mov	x8, x1
	mov	x19, x0
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _IPATH_RCVHDRSZ_SET@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPATH_RCVHDRSZ_SET@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	w3, [x19, #4]
	cmp	w3, w8
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x9, _VERBOSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VERBOSE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x8
	b	LBB0_8
LBB0_3:
	mov	w11, w8
	ldrsw	x2, [x19, #8]
	cmp	x11, x2
	b.ls	LBB0_7
; %bb.4:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x8
	bl	_ipath_dbg
Lloh10:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19, #24]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_dev_info
Lloh14:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	orr	w9, w10, w9
	stp	w9, w8, [x19]
	ldr	x9, [x19, #16]
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x8
	bl	_ipath_write_kreg
Lloh16:
	adrp	x8, _VERBOSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VERBOSE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	bl	_ipath_cdbg
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IPATH_RCVHDRSZ_SET,4,2         ; @IPATH_RCVHDRSZ_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: can't set protocol header size %u, already %u\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_VERBOSE,4,2                    ; @VERBOSE
l_.str.1:                               ; @.str.1
	.asciz	"Reuse same protocol header size %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error: can't set protocol header size %u (> max %u)\n"

	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
l_.str.3:                               ; @.str.3
	.asciz	"Set protocol header size to %u\n"

.subsections_via_symbols
