	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_offload_policy
_load_offload_policy:                   ## @load_offload_policy
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rbx
	movl	$0, -24(%rbp)
	cmpl	$1, %edi
	jne	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_parse_offload_policy
	testl	%eax, %eax
	jne	LBB0_6
## %bb.7:
	movq	_CHELSIO_T4_SET_OFLD_POLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %r14
	movq	%r14, %rsi
	callq	_doit
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_free_offload_policy
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	movq	_CHELSIO_T4_SET_OFLD_POLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_doit
	movl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"incorrect number of arguments."

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"clear"

L_.str.2:                               ## @.str.2
	.asciz	"none"

	.comm	_CHELSIO_T4_SET_OFLD_POLICY,4,2 ## @CHELSIO_T4_SET_OFLD_POLICY
	.no_dead_strip	_load_offload_policy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_offload_policy
_load_offload_policy:                   ; @load_offload_policy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x1]
	str	wzr, [sp, #8]
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.1:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.2:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	bl	_parse_offload_policy
	cbnz	w0, LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _CHELSIO_T4_SET_OFLD_POLICY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CHELSIO_T4_SET_OFLD_POLICY@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_doit
	mov	x19, x0
	add	x0, sp, #8
	bl	_free_offload_policy
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_6:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _CHELSIO_T4_SET_OFLD_POLICY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHELSIO_T4_SET_OFLD_POLICY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_doit
	mov	x19, x0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"incorrect number of arguments."

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"clear"

l_.str.2:                               ; @.str.2
	.asciz	"none"

	.comm	_CHELSIO_T4_SET_OFLD_POLICY,4,2 ; @CHELSIO_T4_SET_OFLD_POLICY
	.no_dead_strip	_load_offload_policy
.subsections_via_symbols
