	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_sa_init                     ## -- Begin function ib_sa_init
	.p2align	4, 0x90
_ib_sa_init:                            ## @ib_sa_init
	.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
	movq	_tid@GOTPCREL(%rip), %rdi
	movl	$4, %esi
	callq	_get_random_bytes
	movq	_sa_client@GOTPCREL(%rip), %rdi
	callq	_ib_register_client
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_mcast_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movq	_sa_client@GOTPCREL(%rip), %rdi
	callq	_ib_unregister_client
	movl	%r14d, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tid,4,2                        ## @tid
	.comm	_sa_client,4,2                  ## @sa_client
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't register ib_sa client\n"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't initialize multicast handling\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_sa_init                     ; -- Begin function ib_sa_init
	.p2align	2
_ib_sa_init:                            ; @ib_sa_init
	.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
Lloh0:
	adrp	x0, _tid@GOTPAGE
Lloh1:
	ldr	x0, [x0, _tid@GOTPAGEOFF]
	mov	w1, #4
	bl	_get_random_bytes
Lloh2:
	adrp	x0, _sa_client@GOTPAGE
Lloh3:
	ldr	x0, [x0, _sa_client@GOTPAGEOFF]
	bl	_ib_register_client
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_4
LBB0_2:
	bl	_mcast_init
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh8:
	adrp	x0, _sa_client@GOTPAGE
Lloh9:
	ldr	x0, [x0, _sa_client@GOTPAGEOFF]
	bl	_ib_unregister_client
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tid,4,2                        ; @tid
	.comm	_sa_client,4,2                  ; @sa_client
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't register ib_sa client\n"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't initialize multicast handling\n"

.subsections_via_symbols
